<div>Hello everybody,</div><div><br></div><div>Is there any mechanism of parsing LICENSE variables for every provided package in a bb file?</div><div><br></div><div>To be a little more clear about this.</div><div><br></div>
<div>If i have an app named myapp. Let's say the <a href="http://myapp_1.0.bb">myapp_1.0.bb</a> includes:</div><div>LICENSE = "GPLv3 & LGPLv2.1"</div><div>LICENSE_${PN} = LGPLv2.1</div><div>LICENSE_${PN} -tests = GPLv3</div>
<div><br></div><div>If this app is not whitelisted, this file will pe ignored (assuming INCOMPATIBLE_LICENSE = GPLv3) even if the only needed package on the final fs is the ${PN} package.</div><div><br></div><div>For files in these case (like gnults) we use right now WHITELIST. In this way license checking on those packages is skipped. </div>
<div><br></div><div>If nobody works on this (or this is already done but i couldn't spot it in the code) i can dig and propose a way to solve this issue.</div><div><br></div>@g