Patchwork [02/17] icecc.bbclass: fix handling of nativesdk and cross-canadian packages

login
register
mail settings
Submitter lumag
Date Sept. 21, 2011, 6:39 p.m.
Message ID <1316630404-10336-2-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11883/
State New, archived
Headers show

Comments

lumag - Sept. 21, 2011, 6:39 p.m.
icecc.bbclass assumed that nativesdk and cross-canadian packages should
use local icecc version. Instead those packages should use target-like
scheme for toolchain tarball generation.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/classes/icecc.bbclass |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 710d798..f8e9d88 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -113,9 +113,7 @@  def icc_is_kernel(bb, d):
 def icc_is_native(bb, d):
     return \
         bb.data.inherits_class("cross", d) or \
-        bb.data.inherits_class("cross-canadian", d) or \
-        bb.data.inherits_class("native", d) or \
-        bb.data.inherits_class("nativesdk", d);
+        bb.data.inherits_class("native", d);
 
 def icc_version(bb, d):
     if use_icc(bb, d) == "no":