]> code.ossystems Code Review - openembedded-core.git/commitdiff
documentation-audit.sh: remove COMMERCIAL_LICENSE warning
authorTom Zanussi <tom.zanussi@intel.com>
Sat, 31 Dec 2011 19:57:16 +0000 (13:57 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2012 11:23:54 +0000 (11:23 +0000)
COMMERCIAL_LICENSE no longer exists; the equivalent functionality is
now has been replaced by LICENSE_FLAGS_WHITELIST, so replace the
COMMERCIAL_LICENSE warning with a similarly equivalent warning.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
scripts/contrib/documentation-audit.sh

index 5070fee8a088b9b9fcb2c4e64568fb06cbdd1328..5b66f0367fbbb60969d9f1983e1f3d3401deffc7 100755 (executable)
@@ -25,7 +25,8 @@ if [ -z "$BITBAKE" ]; then
 fi
 
 echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results"
-echo "REMINDER: you need to have COMMERCIAL_LICENSE = \"\" in local.conf or you'll get false positives"
+echo "REMINDER: you need to set LICENSE_FLAGS_WHITELIST appropriately in local.conf or "
+echo " you'll get false positives.  For example, LICENSE_FLAGS_WHITELIST = \"Commercial\""
 
 for pkg in `bitbake -s | awk '{ print \$1 }'`; do
        if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" ||