[OE-core] [PATCH] license.bbclass: do not process LICENSE_pn variables

Paul Eggleton paul.eggleton at linux.intel.com
Mon May 30 21:27:58 UTC 2016


On Mon, 30 May 2016 14:26:30 Markus Lehtonen wrote:
> Hi Martin,
> 
> On Fri, 2016-05-27 at 12:07 +0200, Martin Jansa wrote:
> > On Fri, May 27, 2016 at 09:26:10AM +0300, Markus Lehtonen wrote:
> > > The loop iterating over LICENSE_pn variables has never worked. In
> > > addition, the LICENSE variable is supposed to contain all licenses
> > > defined in LICENSE_pn variables.
> > 
> > Is this really true?
> 
> That's what I've been told: LICENSE is supposed to contain all licenses
> and LICENSE_pn can be used to refine on per-package basis. But, that
> said, I don't know if that has actually been documented anywhere except
> perhaps in the bitbake manual which states that LICENSE is "The list of
> source licenses for the recipe".

AIUI, LICENSE is indeed supposed to contain all of the licenses; 
LICENSE_<package> then specifies it on a per package basis, but you're not 
supposed to specify anything in the latter that isn't also specified in the 
former.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list