From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] mesa-dri: move extra DRIMODULES to EXTRA_DRIMODULES
Date: Sat, 15 Oct 2011 12:24:20 +0200 [thread overview]
Message-ID: <1318674260-8320-2-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1318674260-8320-1-git-send-email-Martin.Jansa@gmail.com>
* this way we can use
EXTRA_DRIMODULES_armv4t += ",glamo" in meta-openmoko layer and
EXTRA_DRIMODULES_armv4t += ",foo" in meta-bar layer without knowledge
of other modules in other layers in stack
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri.inc | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 795144a..4557bf8 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -4,9 +4,11 @@ LIB_DEPS += "libdrm expat"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
+EXTRA_DRIDRIVERS = ""
+EXTRA_DRIDRIVERS_x86 = ",i915,i965"
+EXTRA_DRIDRIVERS_x86-64 = ",i915,i965"
DRIDRIVERS = "swrast"
-DRIDRIVERS_x86 = "swrast,i915,i965"
-DRIDRIVERS_x86-64 = "swrast,i915,i965"
+DRIDRIVERS += "${EXTRA_DRIDRIVERS}"
EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
--
1.7.7
next prev parent reply other threads:[~2011-10-15 10:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 10:24 [PATCH 1/2] xserver-xorg: remove glx-use-tls again Martin Jansa
2011-10-15 10:24 ` Martin Jansa [this message]
2011-10-15 10:29 ` [PATCH 2/2] mesa-dri: move extra DRIMODULES to EXTRA_DRIMODULES Koen Kooi
2011-10-15 10:38 ` [PATCH] " Martin Jansa
2011-10-15 17:02 ` Richard Purdie
2011-10-21 7:34 ` Martin Jansa
2011-10-21 7:54 ` Koen Kooi
2011-10-21 8:12 ` Martin Jansa
2011-10-21 15:55 ` Khem Raj
2011-10-15 10:40 ` [PATCH 2/2] " Martin Jansa
2011-10-15 14:30 ` Phil Blundell
2011-10-15 14:34 ` Martin Jansa
2011-10-15 14:40 ` Phil Blundell
2011-10-17 9:50 ` Martin Jansa
2011-10-17 11:06 ` Richard Purdie
2011-10-17 12:18 ` [PATCH] mesa-dri: use DRIDRIVERS_append_arch to promote right usage for BSP layer maintainers Martin Jansa
2011-10-17 12:28 ` Richard Purdie
2011-10-17 12:25 ` [PATCH 1/2] xserver-xorg: remove glx-use-tls again Richard Purdie
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=1318674260-8320-2-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox