From: Richard Purdie Date: Sun, 30 Dec 2007 00:37:34 +0000 (+0000) Subject: bitbake.conf: Make sure PATH is expanded when searching for ccache X-Git-Tag: 2011-1~10033 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=603087da3ce97d277705a41dcc9e51461c31b2ed;p=openembedded-core.git 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 --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a23682e31a..49df8869a4 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}"