diff options
author | 2015-04-21 18:30:39 +0200 | |
---|---|---|
committer | 2015-04-28 07:56:55 +0100 | |
commit | e34662860479ebb1255c2f9a7f35d88cbff7b8c5 (patch) | |
tree | e77b21ab843a221ed57653c55c7d2cd3ba174a12 /meta/recipes-graphics/mesa/mesa_10.4.4.bb | |
parent | 9686a10207db2354e280c1198080b338ffbd9058 (diff) | |
download | openembedded-core-contrib-e34662860479ebb1255c2f9a7f35d88cbff7b8c5.tar.gz |
mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES
* default value of PACKAGECONFIG is set from DISTRO_FEATURES,
but in the end we should respect what user sets in PACKAGECONFIG
(From OE-Core rev: 684eaa7f87d321c7965d1393cc5da2190c4acac5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_10.4.4.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_10.4.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb b/meta/recipes-graphics/mesa/mesa_10.4.4.bb index 8472408001..7b22bb0d44 100644 --- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb +++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb @@ -14,6 +14,6 @@ S = "${WORKDIR}/Mesa-${PV}" #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then - sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h + sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h fi } |