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