From a39b672733bec7cac8608c69d1ba459ce34c3d8b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko <[denis@denix.org]> Date: Thu, 14 Jan 2010 09:39:51 +0100 Subject: [PATCH] bitbake.conf: set default TOOLCHAIN_* vars to internal type, if not set to external Signed-off-by: Koen Kooi --- conf/bitbake.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 2193553ab4..25b87822d4 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -424,8 +424,8 @@ export PATH CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}" TOOLCHAIN_OPTIONS = "" -TOOLCHAIN_PATH ?= "" -TOOLCHAIN_SYSPATH ?= "" +TOOLCHAIN_PATH ?= "${CROSS_DIR}" +TOOLCHAIN_SYSPATH ?= "${TOOLCHAIN_PATH}/${TARGET_SYS}" export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" -- 2.39.5