From 603087da3ce97d277705a41dcc9e51461c31b2ed Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 30 Dec 2007 00:37:34 +0000 Subject: 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 --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/conf') 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}" -- cgit v1.2.3