summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-07-02 15:43:11 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-03 14:55:00 +0100
commit8c87f255c0b94f7dd4d17083c6d9def1dc01d26c (patch)
treecccd87724d8e7fe8a3638e5a0429cde39fcae308 /meta/classes
parentb70c9154e43f80d95c4e81239b3d6a95983b8cfb (diff)
downloadpoky-8c87f255c0b94f7dd4d17083c6d9def1dc01d26c.tar.gz
base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the license exclusion list
This appears to be an oversight in the original implementation. All of the host package types were being ignored except for the SDK cross-canadian type. (From OE-Core rev: 750f99d4e2c805985cd87a2358b0625a808ecf4d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 9219170a30..08065c669e 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -432,7 +432,7 @@ python () {
432 432
433 dont_want_license = d.getVar('INCOMPATIBLE_LICENSE', True) 433 dont_want_license = d.getVar('INCOMPATIBLE_LICENSE', True)
434 434
435 if dont_want_license and not pn.endswith("-native") and not pn.endswith("-cross") and not pn.endswith("-cross-initial") and not pn.endswith("-cross-intermediate") and not pn.endswith("-crosssdk-intermediate") and not pn.endswith("-crosssdk") and not pn.endswith("-crosssdk-initial") and not pn.endswith("-nativesdk"): 435 if dont_want_license and not pn.endswith("-native") and not pn.endswith("-cross") and not pn.endswith("-cross-initial") and not pn.endswith("-cross-intermediate") and not pn.endswith("-crosssdk-intermediate") and not pn.endswith("-crosssdk") and not pn.endswith("-crosssdk-initial") and not pn.endswith("-cross-canadian-%s" % d.getVar('TRANSLATED_TARGET_ARCH', True)) and not pn.endswith("-nativesdk"):
436 # Internally, we'll use the license mapping. This way INCOMPATIBLE_LICENSE = "GPLv2" and 436 # Internally, we'll use the license mapping. This way INCOMPATIBLE_LICENSE = "GPLv2" and
437 # INCOMPATIBLE_LICENSE = "GPLv2.0" will pick up all variations of GPL-2.0 437 # INCOMPATIBLE_LICENSE = "GPLv2.0" will pick up all variations of GPL-2.0
438 spdx_license = return_spdx(d, dont_want_license) 438 spdx_license = return_spdx(d, dont_want_license)