[oe] [meta-qt5][PATCH] qt5: overwrite RRECOMMENDS_${PN} for native packages

Samuli Piippo samuli.piippo at theqtcompany.com
Mon Nov 23 11:42:05 UTC 2015


The class-target overwrite for RRECOMMENDS_${PN} prevented appending
new packages to the list in other recipes, without using the
class-target overwrite there as well. Instead set RECOMMENDS to empty
for native packages, where it is not needed.

Signed-off-by: Samuli Piippo <samuli.piippo at theqtcompany.com>
---
 recipes-qt/qt5/qt5.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index 39f7c3c..4b748fb 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -48,10 +48,11 @@ PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmldes
 ALLOW_EMPTY_${PN} = "1"
 ALLOW_EMPTY_${PN}-dbg = "1"
 
-RRECOMMENDS_${PN}_class-target = " \
+RRECOMMENDS_${PN} = " \
     ${PN}-plugins \
     ${PN}-qmlplugins \
     "
+RRECOMMENDS_${PN}_class-native = ""
 
 RRECOMMENDS_${PN}-dev = " \
     ${PN} \
-- 
1.9.1




More information about the Openembedded-devel mailing list