diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1d5db96afb..966eadad67 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -597,6 +597,12 @@ python () { | |||
597 | 597 | ||
598 | exceptions = (d.getVar("INCOMPATIBLE_LICENSE_EXCEPTIONS") or "").split() | 598 | exceptions = (d.getVar("INCOMPATIBLE_LICENSE_EXCEPTIONS") or "").split() |
599 | 599 | ||
600 | for lic_exception in exceptions: | ||
601 | if ":" in lic_exception: | ||
602 | lic_exception.split(":")[0] | ||
603 | if lic_exception in oe.license.obsolete_license_list(): | ||
604 | bb.fatal("Invalid license %s used in INCOMPATIBLE_LICENSE_EXCEPTIONS" % lic_exception) | ||
605 | |||
600 | pkgs = d.getVar('PACKAGES').split() | 606 | pkgs = d.getVar('PACKAGES').split() |
601 | skipped_pkgs = {} | 607 | skipped_pkgs = {} |
602 | unskipped_pkgs = [] | 608 | unskipped_pkgs = [] |