]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX licens...
authorAndrei Gherzan <andrei.gherzan@windriver.com>
Tue, 10 Jan 2012 15:17:58 +0000 (17:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jan 2012 17:33:22 +0000 (17:33 +0000)
commit28456593be0b7e15bb51595d547d7e5347cce24b
tree14ea2415d0027c6c5cef3ede9bbb361969fc7177
parent82329c13f891939c68ec26a60a9c0a25929cd584
license.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX license names

A new function was defined in license.bbclass in order to correctly exclude packages where OE-Style licence naming
is used. In this way licenses as GPL-3, GPLv3, GPLv3.0 etc will be excluded from a non-GPLv3 build. This function
takes into consideration if 'or' operand is used.
The function defined in license.bbclass is called in base.bbclass where packages are excluded based on
INCOMPATIBLE_LICENSE variable.

[YOCTO #1884]
[YOCTO #1844]

Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/license.bbclass