<div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 24, 2012 at 20:44, Flanagan, Elizabeth <span dir="ltr"><<a href="mailto:elizabeth.flanagan@intel.com" target="_blank">elizabeth.flanagan@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Apr 24, 2012 at 10:25 AM, Andrei Gherzan <<a href="mailto:andrei@gherzan.ro">andrei@gherzan.ro</a>> wrote:<br>
> Hello everybody,<br>
><br>
> Is there any mechanism of parsing LICENSE variables for every provided<br>
> package in a bb file?<br>
><br>
> To be a little more clear about this.<br>
><br>
> If i have an app named myapp. Let's say the <a href="http://myapp_1.0.bb" target="_blank">myapp_1.0.bb</a> includes:<br>
> LICENSE = "GPLv3 & LGPLv2.1"<br>
> LICENSE_${PN} = LGPLv2.1<br>
> LICENSE_${PN} -tests = GPLv3<br>
><br>
> If this app is not whitelisted, this file will pe ignored (assuming<br>
> INCOMPATIBLE_LICENSE = GPLv3) even if the only needed package on the final<br>
> fs is the ${PN} package.<br>
><br>
<br>
</div>As you have package level licensing set, it will actually check the<br>
LICENSE_${PN}. See:<br>
bdf2d94c35b7e5ed1723f987696a6c865bff212c Which means it will go and<br>
use the PN level<br>
license to determine if it should be excluded. If no PN level exists<br>
it should fall back to LICENSE<br>
<div class="im"><br></div></blockquote><div><br></div><div>I realize this but still, what about the rest for packages provided in a bb file?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
> For files in these case (like gnults) we use right now WHITELIST. In this<br>
> way license checking on those packages is skipped.<br>
><br>
> If nobody works on this (or this is already done but i couldn't spot it in<br>
> the code) i can dig and propose a way to solve this issue.<br>
><br>
> @g<br>
</div>> _______________________________________________<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" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Elizabeth Flanagan<br>
Yocto Project<br>
Build and Release<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" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br></div>