diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-01-15 13:22:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 13:03:28 +0000 |
commit | 6a59b294b99b05e8973b5f2d60678988e90e2de3 (patch) | |
tree | 4cc7fda1731186e02defbb9576e7d5ad956a6534 /meta/classes | |
parent | 0937054e6e3e02565f57e60a8bdc14b0ad62e249 (diff) | |
download | openembedded-core-6a59b294b99b05e8973b5f2d60678988e90e2de3.tar.gz openembedded-core-6a59b294b99b05e8973b5f2d60678988e90e2de3.tar.bz2 openembedded-core-6a59b294b99b05e8973b5f2d60678988e90e2de3.zip |
license.bbclass: check LICENSE_pkg, not LICENSE_pn-pkg
Recipes define the latter, as that's what goes into the binary packages, not
the former.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/license.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 68f45f52f0..c8a8c639fa 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -215,8 +215,7 @@ def incompatible_license(d, dont_want_licenses, package=None): import re import oe.license from fnmatch import fnmatchcase as fnmatch - pn = d.getVar('PN', True) - license = d.getVar("LICENSE_%s-%s" % (pn, package), True) if package else None + license = d.getVar("LICENSE_%s" % package, True) if package else None if not license: license = d.getVar('LICENSE', True) |