[OE-core] adding tools-debug to EXTRA_IMAGE_FEATURES pulls other tasks from same recipe

Chris Larson kergoth at gmail.com
Fri Jan 20 17:10:08 UTC 2012


On Thu, Jan 19, 2012 at 11:28 PM, Khem Raj <raj.khem at gmail.com> wrote:
> I added to local.conf
> EXTRA_IMAGE_FEATURES += "tools-debug"
>
> and now when I do bitbake -g I see that its wanting to build
> "tools-testapp" and "tools-profile"
> even though I did not ask them to be added to my image. all these
> packages are coming from
> single recipe task-core-tools.bb. If I divide this recipe into 3
> different recipes where each provides
> just one task, it then leaves the others out.
>
> Since these are meta packages they pull in a lot of stuff. Would it be
> ok to divide this recipe
> into 3 individual recipes ? Ideally I would expect that the other
> packages dont get build even
> though they are in same recipe but that is not the case at present


One option would be to avoid the task indirection and simply set
PACKAGE_GROUP_tools-debug = "<list of debug tools>"
-- 
Christopher Larson




More information about the Openembedded-core mailing list