diff options
-rw-r--r-- | meta/classes/icecc.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 90ea3d8df6..a550b6af24 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -148,9 +148,9 @@ def use_icecc(bb,d): | |||
148 | 148 | ||
149 | class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split() | 149 | class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split() |
150 | 150 | ||
151 | for class in class_disable: | 151 | for bbclass in class_disable: |
152 | if bb.data.inherits_class(class, d): | 152 | if bb.data.inherits_class(bbclass, d): |
153 | bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class)) | 153 | bb.debug(1, "%s: bbclass %s found in disable, disable icecc" % (pn, bbclass)) |
154 | return "no" | 154 | return "no" |
155 | 155 | ||
156 | disabled_recipes = (d.getVar('ICECC_RECIPE_DISABLE') or "").split() | 156 | disabled_recipes = (d.getVar('ICECC_RECIPE_DISABLE') or "").split() |