From: Tadao Tanikawa Date: Wed, 22 Jul 2015 01:53:24 +0000 (+0900) Subject: Support wayland/weson with GSES on emulated machine, QEMU(x86-64) X-Git-Tag: 0.2015.33~7 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=commitdiff_plain;h=35239b09e077bc578b36729a02771e34b11ecafb Support wayland/weson with GSES on emulated machine, QEMU(x86-64) To boot weston image on emulated machine QEMU, a new sub-layer `meta-agl-bsp` is added. When bitbake agl-image-weston or agl-image-ivi With this layer, weston GLES can run on QEMU with GLES support. Signed-off-by: Tadao Tanikawa --- diff --git a/meta-agl-bsp/conf/layer.conf b/meta-agl-bsp/conf/layer.conf new file mode 100644 index 000000000..b0010f7c6 --- /dev/null +++ b/meta-agl-bsp/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH =. "${LAYERDIR}:" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "aglbsp" +BBFILE_PATTERN_aglbsp = "^${LAYERDIR}/" +BBFILE_PRIORITY_aglbsp = "7" diff --git a/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend b/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend new file mode 100644 index 000000000..25615856b --- /dev/null +++ b/meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend @@ -0,0 +1 @@ +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_1.5.0.bbappend new file mode 100644 index 000000000..ce963ea50 --- /dev/null +++ b/meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend @@ -0,0 +1,14 @@ +RDEPENDS_${PN}_append = " libegl-gallium llvm3.3 " + +EXTRA_OECONF_append_vexpressa9 = "\ + --enable-simple-egl-clients \ + WESTON_NATIVE_BACKEND=fbdev-backend.so \ + " +EXTRA_OECONF_append_qemux86 = "\ + --enable-simple-egl-clients \ + WESTON_NATIVE_BACKEND=fbdev-backend.so \ + " +EXTRA_OECONF_append_qemux86-64 = "\ + --enable-simple-egl-clients \ + WESTON_NATIVE_BACKEND=fbdev-backend.so \ + "