xserver-xf86-config: add config for OMAP3 SOC_FAMILY
authorKoen Kooi <koen@dominion.thruhere.net>
Sat, 17 Sep 2011 09:10:13 +0000 (11:10 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Sat, 17 Sep 2011 09:10:13 +0000 (11:10 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-graphics/xorg-xserver/xserver-xf86-config/omap3/xorg.conf [new file with mode: 0644]
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend [new file with mode: 0644]

diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/omap3/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/omap3/xorg.conf
new file mode 100644 (file)
index 0000000..983bb08
--- /dev/null
@@ -0,0 +1,29 @@
+Section "Module"                                       
+        Load    "extmod"                                
+        Load    "dbe"                           
+        Load    "glx"                                           
+        Load    "freetype"                             
+        Load    "type1"                        
+        Load    "record"                    
+        Load    "dri"                       
+EndSection                            
+
+Section "Monitor"                                                                    
+        Identifier      "Builtin Default Monitor"
+EndSection                                       
+
+Section "Device"                                  
+        Identifier      "Builtin Default fbdev Device 0"
+        Driver  "omapfb"
+EndSection                                                
+
+Section "Screen"                                        
+        Identifier      "Builtin Default fbdev Screen 0"     
+        Device  "Builtin Default fbdev Device 0"            
+        Monitor "Builtin Default Monitor"               
+EndSection                                              
+
+Section "ServerLayout"                                 
+        Identifier      "Builtin Default Layout"                                     
+        Screen  "Builtin Default fbdev Screen 0"        
+EndSection                                              
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644 (file)
index 0000000..73c440e
--- /dev/null
@@ -0,0 +1,5 @@
+PRINC = "1"
+
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+