summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccache.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/ccache.inc')
-rw-r--r--meta/classes/ccache.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/ccache.inc b/meta/classes/ccache.inc
index 5e9356104b..d830a1b8fe 100644
--- a/meta/classes/ccache.inc
+++ b/meta/classes/ccache.inc
@@ -5,7 +5,7 @@
5CCACHE_DIR_TARGET = "${TMPDIR}/ccache" 5CCACHE_DIR_TARGET = "${TMPDIR}/ccache"
6 6
7python () { 7python () {
8 if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): 8 if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
9 bb.data.setVar('CCACHE_DIR', '${CCACHE_DIR_TARGET}', d) 9 bb.data.setVar('CCACHE_DIR', '${CCACHE_DIR_TARGET}', d)
10 bb.data.setVarFlag('CCACHE_DIR', 'export', '1', d) 10 bb.data.setVarFlag('CCACHE_DIR', 'export', '1', d)
11} 11}