diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2014-01-13 19:06:00 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 17:15:27 +0000 |
| commit | 1f44904daea0c6dddde5ece065a95725722274a8 (patch) | |
| tree | 121896b5773e14b9992dfb5126ad64a0f899fe3f /meta/classes/archiver.bbclass | |
| parent | 2c7d20ce3849aba84e0552f0fc4bde649d96faa9 (diff) | |
| download | poky-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.bbclass | 19 |
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 | ||
| 38 | COPYLEFT_LICENSE_INCLUDE ?= 'GPL* LGPL*' | ||
| 39 | COPYLEFT_LICENSE_INCLUDE[type] = 'list' | ||
| 40 | COPYLEFT_LICENSE_INCLUDE[doc] = 'Space separated list of globs which include licenses' | ||
| 41 | |||
| 42 | COPYLEFT_LICENSE_EXCLUDE ?= 'CLOSED Proprietary' | ||
| 43 | COPYLEFT_LICENSE_EXCLUDE[type] = 'list' | ||
| 44 | COPYLEFT_LICENSE_EXCLUDE[doc] = 'Space separated list of globs which exclude licenses' | ||
| 45 | |||
| 46 | COPYLEFT_RECIPE_TYPE ?= '${@copyleft_recipe_type(d)}' | ||
| 47 | COPYLEFT_RECIPE_TYPE[doc] = 'The "type" of the current recipe (e.g. target, native, cross)' | ||
| 48 | |||
| 49 | COPYLEFT_RECIPE_TYPES ?= 'target' | ||
| 50 | COPYLEFT_RECIPE_TYPES[type] = 'list' | ||
| 51 | COPYLEFT_RECIPE_TYPES[doc] = 'Space separated list of recipe types to include' | ||
| 52 | |||
| 53 | COPYLEFT_AVAILABLE_RECIPE_TYPES = 'target native nativesdk cross crosssdk cross-canadian' | ||
| 54 | COPYLEFT_AVAILABLE_RECIPE_TYPES[type] = 'list' | ||
| 55 | COPYLEFT_AVAILABLE_RECIPE_TYPES[doc] = 'Space separated list of available recipe types' | ||
| 56 | |||
| 57 | python () { | 38 | python () { |
| 58 | pn = d.getVar('PN', True) | 39 | pn = d.getVar('PN', True) |
| 59 | 40 | ||
