summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index d5480d87e2..dd1e07ee37 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -392,7 +392,7 @@ def check_license_flags(d):
392 392
393 license_flags = d.getVar('LICENSE_FLAGS') 393 license_flags = d.getVar('LICENSE_FLAGS')
394 if license_flags: 394 if license_flags:
395 whitelist = d.getVar('LICENSE_FLAGS_WHITELIST') 395 whitelist = d.getVar('LICENSE_FLAGS_ACCEPTED')
396 if not whitelist: 396 if not whitelist:
397 return license_flags.split() 397 return license_flags.split()
398 unmatched_flags = all_license_flags_match(license_flags, whitelist) 398 unmatched_flags = all_license_flags_match(license_flags, whitelist)