[oe-commits] Denis 'GNUtoo' Carikli : mesa-dri 7.8: disable egl for htcdream( this recipe is machine arch)

git version control git at git.openembedded.org
Wed Apr 7 05:15:45 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: cd60ddc92329fe9ef8fd707408be020a4f3303df
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cd60ddc92329fe9ef8fd707408be020a4f3303df

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Tue Apr  6 21:58:18 2010 +0200

mesa-dri 7.8: disable egl for htcdream(this recipe is machine arch)

If we don't disable egl,we have some undefined functions at linking:
| xeglgears.o: In function `main':
| xeglgears.c:(.text+0x1afc): undefined reference to `eglCreateImageKHR'
| xeglgears.c:(.text+0x1c4c): undefined reference to `eglCreateImageKHR'
| xeglgears.c:(.text+0x1cf8): undefined reference to `glEGLImageTargetTexture2DOES'
| collect2: ld returned 1 exit status
Note that we don't have 3d(yet and maybe never) on htcdream

---

 recipes/mesa/mesa-dri_7.8.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/mesa/mesa-dri_7.8.bb b/recipes/mesa/mesa-dri_7.8.bb
index bad0289..46b7faa 100644
--- a/recipes/mesa/mesa-dri_7.8.bb
+++ b/recipes/mesa/mesa-dri_7.8.bb
@@ -15,7 +15,7 @@ SRC_URI[archive.sha256sum] = "8c85db5844303b806b18fc6bd40a9dccb02d90b54878a94f91
 SRC_URI[demos.md5sum] = "9fe8ec184c7f78691e43c4c0a7f97d56"
 SRC_URI[demos.sha256sum] = "5bf65f03ddcd04b02e9ca044285f8754decee67eb274191da1f31627f1d84b0e"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # most of our targets do not have DRI so will use mesa-xlib
 DEFAULT_PREFERENCE = "-1"
@@ -31,7 +31,9 @@ FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
 FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
 
 EXTRA_OECONF += "--with-driver=dri --disable-glx-tls --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"
-EXTRA_OECONF_shr += "--with-driver=dri --disable-glx-tls --disable-gallium --disable-gallium-intel --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"
+EXTRA_OECONF_shr += "--with-driver=dri --disable-glx-tls --disable-gallium \
+ --disable-gallium-intel --with-dri-drivers=swrast,${MACHINE_DRI_MODULES} \
+ ${@base_conditional( 'MACHINE',"htcdream", "--disable-egl", "",d)} "
 
 # We need glsl-compile built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
 do_configure_prepend() {





More information about the Openembedded-commits mailing list