]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Make sure PATH is expanded when searching for ccache
authorRichard Purdie <richard@openedhand.com>
Sun, 30 Dec 2007 00:37:34 +0000 (00:37 +0000)
committerRichard Purdie <richard@openedhand.com>
Sun, 30 Dec 2007 00:37:34 +0000 (00:37 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3389 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/conf/bitbake.conf

index a23682e31a52d707b5bbe02372e913b6f117ae26..49df8869a4816002661da34be5a1d3d003c66a39 100644 (file)
@@ -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}"