mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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
This commit is contained in:
@@ -312,7 +312,7 @@ export PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${layout_sbi
|
|||||||
# Build utility info.
|
# 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 = ""
|
TOOLCHAIN_OPTIONS = ""
|
||||||
|
|
||||||
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
|
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
|
||||||
|
|||||||
Reference in New Issue
Block a user