summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-04-18 16:51:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-22 14:43:42 +0100
commitb9b187f8a0f513e676cd3d18f71d1055445f29fa (patch)
tree0335a6348ec57accfafef8f820cf0f6f1ff16578 /meta/classes
parent50f823557cb5857dfe585a9da88bb8f61ebfba99 (diff)
downloadopenembedded-core-b9b187f8a0f513e676cd3d18f71d1055445f29fa.tar.gz
openembedded-core-b9b187f8a0f513e676cd3d18f71d1055445f29fa.tar.bz2
openembedded-core-b9b187f8a0f513e676cd3d18f71d1055445f29fa.zip
package.bbclass: add LICENSE_EXCLUSION to vardeps
Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for affected recipes. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass4
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):
for p in pkgs:
for v in vars:
ret.append(v + "_" + p)
+
+ # Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for
+ # affected recipes.
+ ret.append('LICENSE_EXCLUSION-%s' % p)
return " ".join(ret)
PACKAGE_PREPROCESS_FUNCS ?= ""