]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: add LICENSE_EXCLUSION to vardeps
authorChristopher Larson <chris_larson@mentor.com>
Thu, 18 Apr 2013 23:51:50 +0000 (16:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Apr 2013 13:43:42 +0000 (14:43 +0100)
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>
meta/classes/package.bbclass

index 2bc31eefe2f7b628c45efd72c28676fde5cdd3f3..5524816968cb42b9564a8eae9a32491e33075879 100644 (file)
@@ -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 ?= ""