[yocto] [OE-core][PATCHv2] nativesdk-packagegroup-sdk-host: Add new DISTRO_FEATURE, sdk-pms
David Nyström
david.c.nystrom at gmail.com
Wed Oct 23 08:35:55 PDT 2013
Added a new distro feature called sdk-pms, since smartpm rdepends
on the python runtime.
This to avoid bloating the SDK tarball for those who does not
want it.
Signed-off-by: David Nyström <david.nystrom at enea.com>
---
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index e298ff4..1f45c4c 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -16,7 +16,8 @@ RDEPENDS_${PN} = "\
nativesdk-qemu-helper \
nativesdk-pseudo \
nativesdk-unfs-server \
- nativesdk-opkg \
+ ${@base_contains('DISTRO_FEATURES', 'sdk-pms', 'nativesdk-opkg','', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'sdk-pms', 'nativesdk-smartpm','', d)} \
nativesdk-libtool \
nativesdk-autoconf \
nativesdk-automake \
--
1.8.3.2
More information about the yocto
mailing list