[meta-freescale] [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6

Andrei Gherzan andrei.gherzan at windriver.com
Sun Jan 13 08:28:40 PST 2013


* Split glx PACKAGECONFIG flag in glx and dri. The one from oe-core includes
configs for dri and glx in the same PACKAGECONFIG[glx].
* There is no libgl in imx6 graphic libraries so don't compile xserver with glx.
* xserver driver for imx6 needs dri.h so compile xserver with dri for these
machines

Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
---
 .../xorg-xserver/xserver-xorg_1.13.1.bbappend      |   15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
new file mode 100644
index 0000000..c8b4a44
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
@@ -0,0 +1,15 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# There are no libgl binaries for imx6 - don't compile with glx
+PACKAGECONFIG_imx6qsabrelite := "${@oe_filter_out('glx', '${PACKAGECONFIG}', d)}"
+PACKAGECONFIG_imx6qsabreauto := "${@oe_filter_out('glx', '${PACKAGECONFIG}', d)}"
+# dri is needed for xf86-video-imxfb-vivante - xserver driver
+PACKAGECONFIG_append_imx6qsabrelite = " dri"
+PACKAGECONFIG_append_imx6qsabreauto = " dri"
+
+PACKAGECONFIG[dri] = "--enable-dri, \
+                      --disable-dri, \
+                      xf86driproto dri2proto"
+PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,\
+                      --disable-glx,\
+                      virtual/libgl"
-- 
1.7.9.5




More information about the meta-freescale mailing list