summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTobias Olausson <tobias.olausson@pelagicore.com>2015-07-30 13:50:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 16:37:45 -0700
commit9d9cc9dfbc454953589f596112439d3374ea7072 (patch)
tree70a94c869a041eabcafd4184074bb607ae45ef04 /meta
parent4b824d5bed60901d90b491ef58bb408aa38a0726 (diff)
downloadpoky-9d9cc9dfbc454953589f596112439d3374ea7072.tar.gz
Revert "mesa: fix do_install_append"
The commit changed an #ifdef to #if defined(), but the source code for 10.4 branch of mesa still uses #ifdef. This reverts OE-Core commit 12e467f436fbc22f274558c753f0ac9756ce1071. (From OE-Core rev: 3eaaa488c811b6a8f7b855f9f2a666d106dbe433) Signed-off-by: Tobias Olausson <tobias.olausson@pelagicore.com> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mesa/mesa_10.4.4.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa_git.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
index 90cccbeba9..8140411752 100644
--- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb
+++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb
@@ -11,6 +11,6 @@ S = "${WORKDIR}/Mesa-${PV}"
11#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER 11#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
12do_install_append() { 12do_install_append() {
13 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then 13 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
14 sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h 14 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
15 fi 15 fi
16} 16}
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb
index 159801930b..cbe891118d 100644
--- a/meta/recipes-graphics/mesa/mesa_git.bb
+++ b/meta/recipes-graphics/mesa/mesa_git.bb
@@ -13,6 +13,6 @@ S = "${WORKDIR}/git"
13#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER 13#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
14do_install_append() { 14do_install_append() {
15 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then 15 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
16 sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h 16 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
17 fi 17 fi
18} 18}