summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-01-13 19:06:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 17:15:27 +0000
commit1f44904daea0c6dddde5ece065a95725722274a8 (patch)
tree121896b5773e14b9992dfb5126ad64a0f899fe3f /meta/classes/archiver.bbclass
parent2c7d20ce3849aba84e0552f0fc4bde649d96faa9 (diff)
downloadpoky-1f44904daea0c6dddde5ece065a95725722274a8.tar.gz
archiver.bbclass: move a few code to copyleft_compliance.bbclass
Move the code which is only used by copyleft_compliance.bbclass from archiver.bbclassc, and remove the "inherit archiver" from copyleft_compliance.bbclass. The archiver.bbclass is used for archiving various types of sources, but the copyleft_compliance.bbclass is used for analysing the license, they don't have much relationships. [YOCTO #4986] [YOCTO #5113] (From OE-Core rev: 578830fe2ff279ea620916ea711b80dc1b29a275) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 9d4b158a4c..7780c71ade 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -35,25 +35,6 @@ do_ar_original[dirs] = "${ARCHIVER_OUTDIR} ${ARCHIVER_WORKDIR}"
35# This is a convenience for the shell script to use it 35# This is a convenience for the shell script to use it
36 36
37 37
38COPYLEFT_LICENSE_INCLUDE ?= 'GPL* LGPL*'
39COPYLEFT_LICENSE_INCLUDE[type] = 'list'
40COPYLEFT_LICENSE_INCLUDE[doc] = 'Space separated list of globs which include licenses'
41
42COPYLEFT_LICENSE_EXCLUDE ?= 'CLOSED Proprietary'
43COPYLEFT_LICENSE_EXCLUDE[type] = 'list'
44COPYLEFT_LICENSE_EXCLUDE[doc] = 'Space separated list of globs which exclude licenses'
45
46COPYLEFT_RECIPE_TYPE ?= '${@copyleft_recipe_type(d)}'
47COPYLEFT_RECIPE_TYPE[doc] = 'The "type" of the current recipe (e.g. target, native, cross)'
48
49COPYLEFT_RECIPE_TYPES ?= 'target'
50COPYLEFT_RECIPE_TYPES[type] = 'list'
51COPYLEFT_RECIPE_TYPES[doc] = 'Space separated list of recipe types to include'
52
53COPYLEFT_AVAILABLE_RECIPE_TYPES = 'target native nativesdk cross crosssdk cross-canadian'
54COPYLEFT_AVAILABLE_RECIPE_TYPES[type] = 'list'
55COPYLEFT_AVAILABLE_RECIPE_TYPES[doc] = 'Space separated list of available recipe types'
56
57python () { 38python () {
58 pn = d.getVar('PN', True) 39 pn = d.getVar('PN', True)
59 40