Comments
Patch
@@ -413,6 +413,8 @@ CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}"
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
+# The sstate cache dependencies should not depend on the value of CCACHE_DIR
+CCACHE_DIR[undep] = "1"
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
If the location of the CCACHE_DIR changes it should not impact the sstate sum. This allows a build generated with an external CCACHE_DIR to have the same sstate sum as a build that uses the ccache dir located in the temp build area. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- meta/conf/bitbake.conf | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)