On Sat, 2014-12-27 at 15:00 +0100, Mike Looijmans wrote: > On 12/26/2014 02:59 PM, Otavio Salvador wrote: > > On Wed, Dec 24, 2014 at 11:48 PM, Hongxu Jia <hongxu....@windriver.com> > > wrote: > >> While building busybox with QA package-missing checking enabled, > >> there was warning: > >> ... > >> WARNING: QA Issue: package busybox-mdev not generated, but listed in > >> PACKAGES > >> WARNING: QA Issue: package busybox-httpd not generated, but listed in > >> PACKAGES > >> ... > >> > >> The config in ${B}/.config decides to generate busybox-mdev, > >> busybox-httpd or not. Files are copied if the packages generated. > >> So set PACKAGES in do_package according to the existance of files. > >> > >> Signed-off-by: Hongxu Jia <hongxu....@windriver.com> > > > > Shouldn't we "invert" the logic here? This patch 'removes' httpd and > > mdev when those are not enabled. Why we don't /add/ those when they > > are enabled? > > maybe the answer is in a question: > What would happen then if someone typed "bitbake busybox-mdev"?
You'd get an error regardless since "busybox-mdev" isn't a recipe, its a package and bitbake doesn't take package names. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core