<p dir="ltr"><br>
On 18 Oct 2013 16:54, "Richard Purdie" <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br>
><br>
> On Thu, 2013-10-17 at 15:59 +0200, David Nyström wrote:<br>
> > Added a new distro feature called sdk-pms, since smartpm rdepends<br>
> > on the python runtime.<br>
> > This to avoid bloating the SDK tarball for those who does not<br>
> > want it.<br>
> ><br>
> > Signed-off-by: David Nyström <<a href="mailto:david.nystrom@enea.com">david.nystrom@enea.com</a>><br>
> > ---<br>
> > meta/recipes-core/packagegroups/<a href="http://nativesdk-packagegroup-sdk-host.bb">nativesdk-packagegroup-sdk-host.bb</a> | 3 ++-<br>
> > 1 file changed, 2 insertions(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/meta/recipes-core/packagegroups/<a href="http://nativesdk-packagegroup-sdk-host.bb">nativesdk-packagegroup-sdk-host.bb</a> b/meta/recipes-core/packagegroups/<a href="http://nativesdk-packagegroup-sdk-host.bb">nativesdk-packagegroup-sdk-host.bb</a><br>
> > index e298ff4..1f45c4c 100644<br>
> > --- a/meta/recipes-core/packagegroups/<a href="http://nativesdk-packagegroup-sdk-host.bb">nativesdk-packagegroup-sdk-host.bb</a><br>
> > +++ b/meta/recipes-core/packagegroups/<a href="http://nativesdk-packagegroup-sdk-host.bb">nativesdk-packagegroup-sdk-host.bb</a><br>
> > @@ -16,7 +16,8 @@ RDEPENDS_${PN} = "\<br>
> > nativesdk-qemu-helper \<br>
> > nativesdk-pseudo \<br>
> > nativesdk-unfs-server \<br>
> > - nativesdk-opkg \<br>
> > + ${@base_contains('DISTRO_FEATURES', 'sdk-pms', 'nativesdk-opkg','', d)} \<br>
> > + ${@base_contains('DISTRO_FEATURES', 'sdk-pms', 'nativesdk-smartpm','', d)} \<br>
> > nativesdk-libtool \<br>
> > nativesdk-autoconf \<br>
> > nativesdk-automake \<br>
><br>
> I think we need to keep a list of DISTRO_FEATURES somewhere along with a<br>
> definition about what the feature is supposed to do. For example this is<br>
> clearly about power management, right? :)<br>
><br>
> Along with this addition could you start a list somewhere documenting<br>
> this?</p>
<p dir="ltr">Sure, where would be a good place to start this ?<br>
In the Reference manual ?</p>
<p dir="ltr">Br,<br>
David</p>
<p dir="ltr">><br>
> Cheers,<br>
><br>
> Richard<br>
><br>
><br>
</p>