Patchwork multilib.bbclass: Drop populate_sdk_base exclusion

login
register
mail settings
Submitter Richard Purdie
Date Nov. 21, 2012, 10:13 a.m.
Message ID <1353492799.10459.1.camel@ted>
Download mbox | patch
Permalink /patch/39393/
State Accepted
Commit 9cc18fe12bd8d1c73df291b4057aab6167ef6b16
Headers show

Comments

Richard Purdie - Nov. 21, 2012, 10:13 a.m.
With this recently introduced exclusion, <multilib>-meta-toolchain-sdk
throws errors about missing DEPENDS that don't exist since it needs the
PROVIDES/DEPENDS remapping. This patch tweaks the class tests to fix
the errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index c249925..b379754 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -73,7 +73,7 @@  python __anonymous () {
         clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK")
         clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY")
 
-    if bb.data.inherits_class('image', d) or bb.data.inherits_class('populate_sdk_base', d):
+    if bb.data.inherits_class('image', d):
         return
 
     clsextend.map_depends_variable("DEPENDS")