summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>2012-03-23 16:51:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-25 11:08:14 +0100
commit2bc1d04e62a8c84e3195d538f844e90c32df8acc (patch)
tree03ff0387603262bd2da2a2671dbb22cc29df63f2
parent4b0fcffae17c03c5c6b2223f202e1d6e8ac55c98 (diff)
downloadopenembedded-core-2bc1d04e62a8c84e3195d538f844e90c32df8acc.tar.gz
openembedded-core-2bc1d04e62a8c84e3195d538f844e90c32df8acc.tar.bz2
openembedded-core-2bc1d04e62a8c84e3195d538f844e90c32df8acc.zip
license.bbclass: Add spdx mapping to GPL-1.0
Perl is GPL-1.0. For consistency sake, adding an spdx map for GPLv1 Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/license.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 9459b0027f..40dcbeba33 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -18,12 +18,14 @@ do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
# We should really discuss standardizing this field, but that's a longer term goal.
# For now, we can do this and it should grab the most common LICENSE naming variations.
#
-# Changing GPL mapping to GPL-2 as it's not very likely to be GPL-1
# We should NEVER have a GPL/LGPL without a version!!!!
# Any mapping to MPL/LGPL/GPL should be fixed
# see: https://wiki.yoctoproject.org/wiki/License_Audit
# GPL variations
+SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
+SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
+SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"