[yocto] [meta-raspberrypi][PATCH 6/8] Support for vc4 graphics driver: modify the wayland configuration for vc4
Herve Jourdain
herve.jourdain at neuf.fr
Wed May 18 05:21:20 PDT 2016
This patch series enables the support for the VC4 graphics driver from Eric Anholt.
Configure the configuration options for Wayland, depending on whether 'vc4graphics' is in MACHINE_FEATURES or not.
Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
---
recipes-graphics/wayland/weston_%.bbappend | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index c3a7421..76bab9f 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -1,4 +1,3 @@
-EXTRA_OECONF_append_rpi = "\
- --enable-rpi-compositor \
- WESTON_NATIVE_BACKEND=rpi-backend.so \
- "
+EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' --enable-rpi-compositor', d)}"
+EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"
+
--
2.7.4
More information about the yocto
mailing list