Patchwork [1/2] package.bbclass: add LICENSE_EXCLUSION to vardeps

login
register
mail settings
Submitter Christopher Larson
Date April 18, 2013, 11:51 p.m.
Message ID <1366329111-11949-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/48539/
State New
Headers show

Comments

Christopher Larson - April 18, 2013, 11:51 p.m.
From: Christopher Larson <chris_larson@mentor.com>

Ensure that changes to INCOMPATIBLE_LICENSE re-run do_package for affected
recipes.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/classes/package.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 2bc31ee..5524816 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 ?= ""