[OE-core] ALLOW_EMPTY versus ALLOW_EMPTY_${PN}? a couple clarifications
Marcin Juszkiewicz
marcin.juszkiewicz at linaro.org
Fri Jul 6 14:18:55 UTC 2012
W dniu 06.07.2012 15:10, Robert P. J. Day pisze:
>
> just trying to clarify the gory details of the ALLOW_EMPTY setting.
> first, across several .bb files, there is a mixture of these two:
>
> ALLOW_EMPTY = "1"
> ALLOW_EMPTY_${PN} = "1"
>
> what's the difference? what does the first one represent if you're
> not specific? does that cover *all* generated packages?
Yes, first means "all packages may be empty"
> next, i assume there's no real value to hardcoding the package name,
> as in:
>
> ./meta/recipes-multimedia/alsa/alsa-utils_1.0.25.bb:ALLOW_EMPTY_alsa-utils = "1"
>
> (i assume the above could have just used the standard "_${PN}",
> right?)
${PN} should be in this case.
More information about the Openembedded-core
mailing list