diff options
author | Ross Burton <ross.burton@intel.com> | 2014-07-17 15:41:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-19 00:09:01 +0100 |
commit | ba197e6ff3bd511463d4b64629a1344d593073f2 (patch) | |
tree | f21b23fa52515c5afe2670a975f572dd9bcbbb72 /meta-selftest/COPYING.MIT | |
parent | a9710bcfefcfe9fd4293d72b3ca477e397dd3f33 (diff) | |
download | poky-ba197e6ff3bd511463d4b64629a1344d593073f2.tar.gz |
license.bbclass: canonicalise licenses when dealing with INCOMPATIBLE_LICENSE
If INCOMPATIBLE_LICENSE=GPL-3.0 but the recipe sets LICENSE=GPLv3, the current
code won't trigger because they're different strings.
Fix this by attempting to canonicalise every license name to a SPDX name, so
both names in this example become GPL-3.0.
[ YOCTO #5622 ]
(From OE-Core rev: 8998e13fc95f11d15c34fb09d8451a9d4b69f2f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/COPYING.MIT')
0 files changed, 0 insertions, 0 deletions