From 35239b09e077bc578b36729a02771e34b11ecafb Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 22 Jul 2015 10:53:24 +0900 Subject: [PATCH] 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 --- meta-agl-bsp/conf/layer.conf | 10 ++++++++++ meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend | 1 + .../recipes-graphics/wayland/weston_1.5.0.bbappend | 14 ++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 meta-agl-bsp/conf/layer.conf create mode 100644 meta-agl-bsp/recipes-graphics/mesa/mesa_10.%.bbappend create mode 100644 meta-agl-bsp/recipes-graphics/wayland/weston_1.5.0.bbappend 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 \ + " -- 2.16.6