summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index b598aa3ad6..7b5274df89 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -52,14 +52,12 @@ do_ar_original[dirs] = "${ARCHIVER_OUTDIR} ${ARCHIVER_WORKDIR}"
52python () { 52python () {
53 pn = d.getVar('PN', True) 53 pn = d.getVar('PN', True)
54 54
55 if d.getVar('COPYLEFT_LICENSE_INCLUDE', True) or \ 55 included, reason = copyleft_should_include(d)
56 d.getVar('COPYLEFT_LICENSE_EXCLUDE', True): 56 if not included:
57 included, reason = copyleft_should_include(d) 57 bb.debug(1, 'archiver: %s is excluded: %s' % (pn, reason))
58 if not included: 58 return
59 bb.debug(1, 'archiver: %s is excluded: %s' % (pn, reason)) 59 else:
60 return 60 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
61 else:
62 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
63 61
64 ar_src = d.getVarFlag('ARCHIVER_MODE', 'src', True) 62 ar_src = d.getVarFlag('ARCHIVER_MODE', 'src', True)
65 ar_dumpdata = d.getVarFlag('ARCHIVER_MODE', 'dumpdata', True) 63 ar_dumpdata = d.getVarFlag('ARCHIVER_MODE', 'dumpdata', True)