]> code.ossystems Code Review - meta-freescale.git/commitdiff
xserver-xf86-config: move xorg.conf to being machine specific
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 21 Dec 2011 18:16:26 +0000 (18:16 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 21 Dec 2011 18:42:14 +0000 (18:42 +0000)
While on that we refactored the recipe to use PRINC and
FILESEXTRAPATHS_prepend.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/imx53ard/xorg.conf [moved from meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf with 100% similarity]
meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/imx53qsb/xorg.conf [new file with mode: 0644]
meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend

diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/imx53qsb/xorg.conf b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/imx53qsb/xorg.conf
new file mode 100644 (file)
index 0000000..bbb1f53
--- /dev/null
@@ -0,0 +1,45 @@
+Section "InputDevice"
+    Identifier  "Generic Keyboard"
+    Driver      "kbd"
+    Option      "XkbRules"  "xorg"
+    Option      "XkbModel"  "pc105"
+    Option      "XkbLayout" "us"
+EndSection
+
+Section "InputDevice"
+    Identifier  "Configured Mouse"
+    Driver      "mouse"
+    Option      "CorePointer"
+EndSection
+
+Section "InputClass"
+    Identifier "eGalax"
+    MatchIsTouchscreen "on"
+    MatchDevicePath "/dev/input/event*"
+    Driver "evdev"
+EndSection
+
+Section "Device"
+    Identifier  "i.MX Accelerated Framebuffer Device"
+    Driver      "imx"
+    Option      "fbdev"     "/dev/fb0"
+    # This option only recognized when "mxc_epdc_fb" frame buffer driver in
+    # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
+    # and "Y8INV" (8-bit gray inverted).
+    Option      "FormatEPDC"    "Y8INV"
+EndSection
+
+Section "Monitor"
+    Identifier  "Configured Monitor"
+EndSection
+
+Section "Screen"
+    Identifier  "Default Screen"
+    Monitor     "Configured Monitor"
+    Device      "i.MX Accelerated Framebuffer Device"
+EndSection
+
+Section "ServerLayout"
+    Identifier  "Default Layout"
+    Screen      "Default Screen"
+EndSection
index e6c5a53f55d32c42652239a2f75efd94baaa5702..56cb2945339173eb153cb35951d489cbb58d436b 100644 (file)
@@ -1,4 +1,4 @@
 # Append path for freescale layer to include bsp xorg.conf 
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
+PRINC := "${@int(PRINC) + 1}"