diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-04-18 16:51:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-22 14:45:03 +0100 |
commit | fd4f35485316885727b8b328b53dcdfde98c8650 (patch) | |
tree | 7ca3e55b368a2e5746ef1cb948e6bdff31d8e1a8 /meta/classes/package.bbclass | |
parent | 4e4050de52a9313cd913144c2eed7e80f4dc1dd0 (diff) | |
download | poky-fd4f35485316885727b8b328b53dcdfde98c8650.tar.gz |
package.bbclass: add LICENSE_EXCLUSION to vardeps
Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for affected
recipes.
(From OE-Core rev: b9b187f8a0f513e676cd3d18f71d1055445f29fa)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 2bc31eefe2..5524816968 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1789,6 +1789,10 @@ def gen_packagevar(d): | |||
1789 | for p in pkgs: | 1789 | for p in pkgs: |
1790 | for v in vars: | 1790 | for v in vars: |
1791 | ret.append(v + "_" + p) | 1791 | ret.append(v + "_" + p) |
1792 | |||
1793 | # Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for | ||
1794 | # affected recipes. | ||
1795 | ret.append('LICENSE_EXCLUSION-%s' % p) | ||
1792 | return " ".join(ret) | 1796 | return " ".join(ret) |
1793 | 1797 | ||
1794 | PACKAGE_PREPROCESS_FUNCS ?= "" | 1798 | PACKAGE_PREPROCESS_FUNCS ?= "" |