[oe] [RFC] a small bbclass for task recipes
Richard Purdie
rpurdie at rpsys.net
Sat Aug 11 13:38:05 UTC 2007
On Sat, 2007-08-11 at 15:05 +0200, Koen Kooi wrote:
> Richard Purdie schreef:
> > On Sat, 2007-08-11 at 12:20 +0200, pHilipp Zabel wrote:
> >> I guess it should to something like
> >> PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" or not touch packages at all,
> >> if the code also works for -doc and -locale and enable that code,
> >> however it is done.
> >
> > PACKAGES shouldn't need touching. Empty -doc and -locale packages won't
> > get created.
>
> Even with ALLOW_EMPTY="1"?
Hmm. I guess adding ALLOW_EMPTY_foo = "1" for each task is boring so we
could be doing:
ALLOW_EMPTY_${PN}-doc = "0"
ALLOW_EMPTY_${PN}-locale = "0"
Is that preferable to overriding PACKAGES?
Richard
More information about the Openembedded-devel
mailing list