diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c0d2c8ec88..8114cf648b 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -540,6 +540,8 @@ python () { | |||
540 | check_license = False | 540 | check_license = False |
541 | 541 | ||
542 | if check_license and bad_licenses: | 542 | if check_license and bad_licenses: |
543 | bad_licenses = map(lambda l: canonical_license(d, l), bad_licenses) | ||
544 | |||
543 | whitelist = [] | 545 | whitelist = [] |
544 | for lic in bad_licenses: | 546 | for lic in bad_licenses: |
545 | for w in ["HOSTTOOLS_WHITELIST_", "LGPLv2_WHITELIST_", "WHITELIST_"]: | 547 | for w in ["HOSTTOOLS_WHITELIST_", "LGPLv2_WHITELIST_", "WHITELIST_"]: |