aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-07-26 12:49:31 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-27 10:56:34 +0200
commitab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1 (patch)
tree846dcde8ea2a05a0aa9f0483c7105a47a511d65f /recipes-graphics
parentf6a2ca21c72b8d97cd0f89a0a436bf90b431698b (diff)
downloadmeta-raspberrypi-ab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1.tar.gz
meta-raspberrypi-ab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1.tar.bz2
meta-raspberrypi-ab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1.zip
weston: use just one append and one bb.utils.contains
* drop duplicated --enable-rpi-compositor and WESTON_NATIVE_BACKEND=rpi-backend.so * use rpi override, adding --enable-rpi-compositor unconditionally breaks other MACHINEs with: configure: WARNING: unrecognized options: --enable-rpi-compositor * use just one append and one bb.utils.contains to save some bitbake cycles while parsing Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/wayland/weston_%.bbappend18
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index f2cb7aa..1dac41c 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -1,12 +1,12 @@
-EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' --enable-rpi-compositor WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"
-
PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', '', d)}"
-EXTRA_OECONF += "--disable-xwayland-test \
- --disable-simple-egl-clients \
+EXTRA_OECONF_append_rpi = " \
+ --disable-xwayland-test \
+ --disable-simple-egl-clients \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' \
+ --enable-rpi-compositor \
+ --disable-resize-optimization \
+ --disable-setuid-install \
+ WESTON_NATIVE_BACKEND=rpi-backend.so \
+ ', d)} \
"
-
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '--enable-rpi-compositor', d)}"
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '--disable-resize-optimization', d)}"
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '--disable-setuid-install', d)}"
-EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"