From 12641489df3728da24ffce7b306081b8488c5246 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:47:26 -0700 Subject: qtbase: Append userland to rdeps iff vc4graphics is not enabled This avoids adding unnessary dependency at runtime on userland graphics package when vc4 driver is used Signed-off-by: Khem Raj --- dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynamic-layers/qt5-layer') diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index c43da01..8275c6d 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -15,5 +15,5 @@ do_configure_prepend_rpi() { echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" >> ${S}/mkspecs/oe-device-extra.pri fi } -RDEPENDS_${PN}_append_rpi = " userland" +RDEPENDS_${PN}_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}" DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}" -- cgit v1.2.3-54-g00ecf