Support QEMU build on Poky > 1.7 (weston, gallium-egl) 75/4075/1
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Mon, 21 Sep 2015 09:53:04 +0000 (11:53 +0200)
committerManuel Bachmann <mbc@iot.bzh>
Tue, 22 Sep 2015 08:29:56 +0000 (10:29 +0200)
Allow to build newer versions of Weston.

"gallium-egl" disappeared from Poky > 1.7 (because it
disappeared from upstream Mesa, too). Still try to detect
and build it if it exists, but do not fail otherwise.

Change-Id: I01c3988e2da6a4fe66a80e5a5b1262cc6c1da727
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend
meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend [moved from meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend with 87% similarity]

index 2561585..fca193e 100644 (file)
@@ -1 +1,4 @@
+# provide "libegl-gallium" if it does not exist (poky > 1.7)
+RPROVIDES_${PN}_append = "libegl-gallium"
+
 PACKAGECONFIG_append = " gallium gallium-egl gallium-llvm"
@@ -1,4 +1,4 @@
-RDEPENDS_${PN}_append = " libegl-gallium llvm3.3 "
+RRECOMMENDS_${PN}_append = " libegl-gallium llvm3.3 "
 
 EXTRA_OECONF_append_vexpressa9 = "\
     --enable-simple-egl-clients  \