]> 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>
Tue, 4 Nov 2014 10:19:56 +0000 (10:19 +0000)
commit1d6dab1dbbbfbcb32e58dba3111130157ef2b24f
tree25f6b576fce5c12f145ee156472b1b411244db6b
parent985ef933208da1dd1f17645613ce08e6ad27e2c1
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+.

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