[oe-commits] Christopher Larson : package.bbclass: add LICENSE_EXCLUSION to vardeps

git at git.openembedded.org git at git.openembedded.org
Mon Apr 22 13:44:08 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: b9b187f8a0f513e676cd3d18f71d1055445f29fa
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b9b187f8a0f513e676cd3d18f71d1055445f29fa

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Thu Apr 18 16:51:50 2013 -0700

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 at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 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 ?= ""





More information about the Openembedded-commits mailing list