summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-02-21 10:13:26 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-02-21 10:13:26 +0000
commiteaa6fa080f580cda447d464568c3b5076da7f5b2 (patch)
tree74288320ab13dd406e713b4d04ed89b59c3ae1f4 /conf
parentfb0cfd1b02a5c2d12edc3f8d29e8f6b3cfc328d5 (diff)
bitbake.conf: Make sure CCACHE uses expanded data when searching the PATH (from poky)
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index a3706b1b6b..4caa55c0b6 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -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}"