summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-12-30 00:37:34 +0000
committerRichard Purdie <richard@openedhand.com>2007-12-30 00:37:34 +0000
commit603087da3ce97d277705a41dcc9e51461c31b2ed (patch)
tree4d9f82b3e60bf7f9126738b4c7fbe00f5f8c0dd0 /meta/conf
parent13d7860d43dfec8ee784cd014ef8a49c6abb0f5a (diff)
downloadopenembedded-core-603087da3ce97d277705a41dcc9e51461c31b2ed.tar.gz
openembedded-core-603087da3ce97d277705a41dcc9e51461c31b2ed.tar.bz2
openembedded-core-603087da3ce97d277705a41dcc9e51461c31b2ed.tar.xz
openembedded-core-603087da3ce97d277705a41dcc9e51461c31b2ed.zip
bitbake.conf: Make sure PATH is expanded when searching for ccache
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3389 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a23682e31..49df8869a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -312,7 +312,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}"