On 03/06/2014 06:04 PM, Burton, Ross wrote:
On 6 March 2014 08:06, Chong Lu <[email protected]> wrote:
+PACKAGES += "dbus-ptest"
+ALLOW_EMPTY_${PN}-ptest = "1"
+RDEPENDS_${PN}-ptest = "${@base_contains('IMAGE_FEATURES', 'ptest-pkgs',
'dbus-test-ptest', 'dbus-test', d)}"
Nice idea, but wouldn't a more correct solution be to have dbus-ptest
added to PACKAGES conditionally (instead of always generating
dbus-ptest and conditionally adding the dependency)?
Ross
Hi Ross,
Do you mean using PACKAGES += "${@base_contains('IMAGE_FEATURES',
'ptest-pkgs', 'dbus-ptest-ptest', 'dbus-ptest', d)}" or something else?
Best Regards
Chong
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core