]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: canonicalise the licenses named with 'X+'
authorJackie Huang <jackie.huang@windriver.com>
Mon, 27 Oct 2014 07:37:41 +0000 (03:37 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Nov 2014 12:02:29 +0000 (12:02 +0000)
commit652008fd9dc909836819e5c6808c63643eff6db6
tree1e87e8bd253db1d1eab0f9b784317bdbcddfb6a2
parent484502e4e062fae1130a60626f39f5512af4c5c8
license.bbclass: canonicalise the licenses named with 'X+'

If INCOMPATIBLE_LICENSE=GPLv3, GPLv3+ should be excluded
as well but not now since there is no SPDXLICENSEMAP for
licenses named with 'X+', we can add all the SPDXLICENSEMAP
settings for licenses named with 'X+' in licenses.conf,
but it's more like a duplication, so improve the canonical_license
function to auto map for 'X+' if SPDXLICENSEMAP for 'X' is
available, so GPLv3+ becomes GPL-3.0+.

(From OE-Core rev: 1d6dab1dbbbfbcb32e58dba3111130157ef2b24f)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass