<br><br>On Friday, June 29, 2012, Robert P. J. Day <<a href="mailto:rpjday@crashcourse.ca">rpjday@crashcourse.ca</a>> wrote:<br>><br>> in current poky ref manual, the explanation of ALLOW_EMPTY talks<br>> about using it with a package name, as in:<br>
><br>> ALLOW_EMPTY_${PN} = "1"<br>><br>> which makes perfect sense, except that there is the occasional example<br>> where something other than "PN" is used, sometimes for good reason,<br>
> sometimes not clear.<br>><br>> for instance, there's this:<br>><br>> meta/recipes-qt/qt4/qt4.inc:ALLOW_EMPTY_${PN} = "1"<br>> meta/recipes-qt/qt4/qt4.inc:ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1"<br>
><br>> which makes sense (i guess) since, in this case, PN=qt4-x11-free,<br>> while QT_BASE_NAME=qt4. so there are obviously going to be special<br>> cases like that.<br>><br>> but here are a few that seem to use BPN unnecessarily:<br>
><br>> meta/recipes-core/eglibc/eglibc-locale.inc:ALLOW_EMPTY_${BPN}-binaries = "1"<br>> meta/recipes-core/eglibc/eglibc-locale.inc:ALLOW_EMPTY_${BPN}-charmaps = "1"<br>> meta/recipes-core/eglibc/eglibc-locale.inc:ALLOW_EMPTY_${BPN}-gconvs = "1"<br>
> meta/recipes-core/eglibc/eglibc-locale.inc:ALLOW_EMPTY_${BPN}-localedatas = "1"<br>> meta/recipes-graphics/pango/pango.inc:ALLOW_EMPTY_${BPN}-modules = "1"<br>><br>> it seems that, with the above packages, PN = BPN so, yes, either one<br>
> would have worked, but is there a best practice? i would think that<br>> using anything other than PN should be reserved for when it's<br>> necessary, so that it's more aesthetically obvious that something<br>
> different is happening.<br><br><br>This is needed when PN is altered e.g<br>When using BBCLASSEXTEND<br>><br>> thoughts? yes, i know it makes no functional difference. again,<br>> i'm just trying to codify best practices.<br>
><br>> rday<br>><br>> --<br>><br>> ========================================================================<br>> Robert P. J. Day Ottawa, Ontario, CANADA<br>> <a href="http://crashcourse.ca">http://crashcourse.ca</a><br>
><br>> Twitter: <a href="http://twitter.com/rpjday">http://twitter.com/rpjday</a><br>> LinkedIn: <a href="http://ca.linkedin.com/in/rpjday">http://ca.linkedin.com/in/rpjday</a><br>
> ========================================================================<br>><br>> _______________________________________________<br>> Openembedded-core mailing list<br>> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>>