diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-02-21 10:36:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:37:27 +0000 |
commit | 0b46552625959b829d7f2712b642ef52003e5534 (patch) | |
tree | 14d683ba1ca85aed9f273a908006763dd014de61 /meta/classes/license.bbclass | |
parent | 2b22c16376abdd66ae4319a2561cc0fad56ec5e8 (diff) | |
download | poky-0b46552625959b829d7f2712b642ef52003e5534.tar.gz |
meta: Rename LICENSE_FLAGS variable
(From OE-Core rev: 5c5b3bc563059ba728dc9724656cc69669f8e25f)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r-- | meta/classes/license.bbclass | 2 |
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) |