From: Manuel Bachmann Date: Mon, 21 Sep 2015 09:53:04 +0000 (+0200) Subject: Support QEMU build on Poky > 1.7 (weston, gallium-egl) X-Git-Tag: albacore_1.0~48^2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=commitdiff_plain;h=d3761567f1d11efcacf69a4121b8bb4cded2ee18 Support QEMU build on Poky > 1.7 (weston, gallium-egl) 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 --- diff --git a/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend b/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend index 25615856b..fca193e36 100644 --- a/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend +++ b/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend @@ -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" diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend similarity index 87% rename from meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend rename to meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend index ce963ea50..a527fcf7e 100644 --- a/meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend +++ b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend @@ -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 \