[yocto] [meta-raspberrypi][PATCH] Fix compilation of Weston when using USERLAND: kms PACKAGECONFIG must be removed
Herve Jourdain
herve.jourdain at neuf.fr
Thu Jan 19 04:49:18 PST 2017
When building weston with userland, there is an error at configuration time:
| checking for DRM_COMPOSITOR... no
| configure: error: Package requirements (libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0) were not met:
|
| No package 'gbm' found
This is due to kms being enabled by default in the PACKAGECONFIG, which triggers --enable-drm-compositor, which requires gbm [vc4 is kms-based, not userland]
Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
---
recipes-graphics/wayland/weston_%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index f2cb7aa..f36bd32 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -1,6 +1,6 @@
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)}"
+PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', 'kms', d)}"
EXTRA_OECONF += "--disable-xwayland-test \
--disable-simple-egl-clients \
--
2.7.4
More information about the yocto
mailing list