]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ccache: Use MULTIMACH_TARGET_SYS not HOST_SYS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 09:27:49 +0000 (10:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 09:34:57 +0000 (10:34 +0100)
I suspect this was a typo and that TARGET_SYS makes more sense here. Its
also the only remaining user of MULTIMACH_HOST_SYS in OE-Core. Change it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ccache.bbclass

index 9713feabcb2e44647fd332b68a97988b19674511..d58c8f6e57a01a70e9f0f8810aa1989509528c6a 100644 (file)
@@ -1,5 +1,5 @@
 CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}"
-export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
+export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_TARGET_SYS}/${PN}"
 CCACHE_DISABLE[unexport] = "1"
 
 # We need to stop ccache considering the current directory or the