summaryrefslogtreecommitdiffstats
path: root/meta
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 12:23:37 +0100
commit5de2b70afc0856f5828dec82a1532cf645f6fc42 (patch)
tree432e824b0e1307af8bc06bbdf9d23747378c5611 /meta
parentbc709ae2f82ffa0b559f5a7b21c53c4500d4198e (diff)
downloadpoky-5de2b70afc0856f5828dec82a1532cf645f6fc42.tar.gz
license.bbclass: Add spdx mapping to GPL-1.0
Perl is GPL-1.0. For consistency sake, adding an spdx map for GPLv1 (From OE-Core rev: 2bc1d04e62a8c84e3195d538f844e90c32df8acc) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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}"
18# We should really discuss standardizing this field, but that's a longer term goal. 18# We should really discuss standardizing this field, but that's a longer term goal.
19# For now, we can do this and it should grab the most common LICENSE naming variations. 19# For now, we can do this and it should grab the most common LICENSE naming variations.
20# 20#
21# Changing GPL mapping to GPL-2 as it's not very likely to be GPL-1
22# We should NEVER have a GPL/LGPL without a version!!!! 21# We should NEVER have a GPL/LGPL without a version!!!!
23# Any mapping to MPL/LGPL/GPL should be fixed 22# Any mapping to MPL/LGPL/GPL should be fixed
24# see: https://wiki.yoctoproject.org/wiki/License_Audit 23# see: https://wiki.yoctoproject.org/wiki/License_Audit
25 24
26# GPL variations 25# GPL variations
26SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
27SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
28SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
27SPDXLICENSEMAP[GPL-2] = "GPL-2.0" 29SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
28SPDXLICENSEMAP[GPLv2] = "GPL-2.0" 30SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
29SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0" 31SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"