From: Andrei Gherzan <andrei.gherzan@windriver.com>
To: <meta-freescale@yoctoproject.org>
Cc: Andrei Gherzan <andrei.gherzan@windriver.com>
Subject: [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6
Date: Sun, 13 Jan 2013 18:28:40 +0200 [thread overview]
Message-ID: <1358094522-6543-2-git-send-email-andrei.gherzan@windriver.com> (raw)
In-Reply-To: <1358094522-6543-1-git-send-email-andrei.gherzan@windriver.com>
* 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@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
next prev parent reply other threads:[~2013-01-13 16:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-13 16:28 [meta-fsl-arm][PATCH 1/4] xf86-video-imxfb-vivante: Depend on virtual/xserver Andrei Gherzan
2013-01-13 16:28 ` Andrei Gherzan [this message]
2013-01-13 17:41 ` [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6 Eric Bénard
2013-01-13 19:23 ` Andrei Gherzan
2013-01-13 19:48 ` Eric Bénard
2013-01-13 21:45 ` Andrei Gherzan
2013-01-14 11:53 ` Otavio Salvador
2013-01-14 12:22 ` Andrei Gherzan
2013-01-13 16:28 ` [meta-fsl-arm][PATCH 3/4] glproto: Don't install glxtokens.h for imx6qsabrelite Andrei Gherzan
2013-01-14 11:55 ` Otavio Salvador
2013-01-14 12:22 ` Andrei Gherzan
2013-01-14 12:25 ` Otavio Salvador
2013-01-14 13:01 ` Andrei Gherzan
2013-01-14 13:22 ` Eric Bénard
2013-01-24 17:50 ` Andrei Gherzan
2013-01-24 18:01 ` Eric Bénard
2013-01-24 18:05 ` Otavio Salvador
2013-01-24 18:23 ` Eric Bénard
2013-01-24 18:26 ` Andrei Gherzan
2013-01-24 18:38 ` Eric Bénard
2013-01-13 16:28 ` [meta-fsl-arm][PATCH 4/4] gpu-viv-bin-mx6q: Add dri.pc Andrei Gherzan
2013-01-14 11:58 ` Otavio Salvador
2013-01-13 17:04 ` [meta-fsl-arm][PATCH 1/4] xf86-video-imxfb-vivante: Depend on virtual/xserver Eric Bénard
2013-01-14 11:49 ` Otavio Salvador
2013-01-14 13:21 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358094522-6543-2-git-send-email-andrei.gherzan@windriver.com \
--to=andrei.gherzan@windriver.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.