bitbake.conf: Make sure CCACHE uses expanded data when searching the PATH (from poky)
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 21 Feb 2008 10:13:26 +0000 (10:13 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 21 Feb 2008 10:13:26 +0000 (10:13 +0000)
conf/bitbake.conf

index a3706b1..4caa55c 100644 (file)
@@ -310,7 +310,7 @@ export PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${layout_sbi
 # Build utility info.
 ##################################################################
 
-CCACHE = "${@bb.which(bb.data.getVar('PATH', d), 'ccache') and 'ccache '}"
+CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
 TOOLCHAIN_OPTIONS = ""
 
 export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"