mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
classes/license: fix comments
It's LICENSE_FLAGS, LICENSE_FLAG is invalid. (From OE-Core rev: 70bd620b58ddd90477d9f438922ee3bdc7e8c5a5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
920be2075b
commit
886568132c
@@ -290,11 +290,11 @@ def incompatible_license(d, dont_want_licenses, package=None):
|
||||
|
||||
def check_license_flags(d):
|
||||
"""
|
||||
This function checks if a recipe has any LICENSE_FLAGs that
|
||||
This function checks if a recipe has any LICENSE_FLAGS that
|
||||
aren't whitelisted.
|
||||
|
||||
If it does, it returns the first LICENSE_FLAG missing from the
|
||||
whitelist, or all the LICENSE_FLAGs if there is no whitelist.
|
||||
If it does, it returns the first LICENSE_FLAGS item missing from the
|
||||
whitelist, or all of the LICENSE_FLAGS if there is no whitelist.
|
||||
|
||||
If everything is is properly whitelisted, it returns None.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user