diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2011-12-31 13:57:16 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 11:54:16 +0000 |
commit | 79af7541e2d37dd92a3efc4eb3a9eb0aa33aa04f (patch) | |
tree | 1af1cbbe8202966b9e242d7c60c30c0975063569 /scripts/contrib | |
parent | 7301b4c187045865f2452b90ec7de9fa2f5a8bc7 (diff) | |
download | poky-79af7541e2d37dd92a3efc4eb3a9eb0aa33aa04f.tar.gz |
documentation-audit.sh: remove COMMERCIAL_LICENSE warning
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.
(From OE-Core rev: 64e1db588bcb7b66b08097c0ea443bd4406422d3)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-x | scripts/contrib/documentation-audit.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 5070fee8a0..5b66f0367f 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh | |||
@@ -25,7 +25,8 @@ if [ -z "$BITBAKE" ]; then | |||
25 | fi | 25 | fi |
26 | 26 | ||
27 | echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" | 27 | echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" |
28 | echo "REMINDER: you need to have COMMERCIAL_LICENSE = \"\" in local.conf or you'll get false positives" | 28 | echo "REMINDER: you need to set LICENSE_FLAGS_WHITELIST appropriately in local.conf or " |
29 | echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Commercial\"" | ||
29 | 30 | ||
30 | for pkg in `bitbake -s | awk '{ print \$1 }'`; do | 31 | for pkg in `bitbake -s | awk '{ print \$1 }'`; do |
31 | if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || | 32 | if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || |