summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index bdb3ac33c6..0cf27fbb91 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -596,9 +596,9 @@ python () {
596 596
597 for lic_exception in exceptions: 597 for lic_exception in exceptions:
598 if ":" in lic_exception: 598 if ":" in lic_exception:
599 lic_exception.split(":")[0] 599 lic_exception = lic_exception.split(":")[1]
600 if lic_exception in oe.license.obsolete_license_list(): 600 if lic_exception in oe.license.obsolete_license_list():
601 bb.fatal("Invalid license %s used in INCOMPATIBLE_LICENSE_EXCEPTIONS" % lic_exception) 601 bb.fatal("Obsolete license %s used in INCOMPATIBLE_LICENSE_EXCEPTIONS" % lic_exception)
602 602
603 pkgs = d.getVar('PACKAGES').split() 603 pkgs = d.getVar('PACKAGES').split()
604 skipped_pkgs = {} 604 skipped_pkgs = {}