summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/ccache.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index fc4745609c..4532894c57 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -49,7 +49,7 @@ python() {
49 """ 49 """
50 pn = d.getVar('PN') 50 pn = d.getVar('PN')
51 # quilt-native doesn't need ccache since no c files 51 # quilt-native doesn't need ccache since no c files
52 if not (pn in ('ccache-native', 'quilt-native') or 52 if not (bb.data.inherits_class("native", d) or
53 bb.utils.to_boolean(d.getVar('CCACHE_DISABLE'))): 53 bb.utils.to_boolean(d.getVar('CCACHE_DISABLE'))):
54 d.appendVar('DEPENDS', ' ccache-native') 54 d.appendVar('DEPENDS', ' ccache-native')
55 d.setVar('CCACHE', 'ccache ') 55 d.setVar('CCACHE', 'ccache ')