From: Paul Eggleton Date: Wed, 13 Nov 2013 14:32:45 +0000 (+0000) Subject: classes/license: fix comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886568132c4cb30551e9c55ecf07df02ad34f8d8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/license: fix comments It's LICENSE_FLAGS, LICENSE_FLAG is invalid. (From OE-Core rev: 70bd620b58ddd90477d9f438922ee3bdc7e8c5a5) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 1c1b679facd..c1483ac4905 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -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. """