From bae27805cd3ea069df5ca460c890d7bc41c8e663 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko <[denis@denix.org]> Date: Thu, 14 Jan 2010 09:39:51 +0100 Subject: 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(-) (limited to 'conf/bitbake.conf') 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}" -- cgit 1.2.3-korg