aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <[denis@denix.org]>2010-01-14 09:39:51 +0100
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:10 +0200
commitbae27805cd3ea069df5ca460c890d7bc41c8e663 (patch)
tree48f172eaca822493180727538f04f3225bb7ae1b /conf
parent71df75628d9fc9532421f97a2baf040f38a9244e (diff)
downloadopenembedded-bae27805cd3ea069df5ca460c890d7bc41c8e663.tar.gz
bitbake.conf: set default TOOLCHAIN_* vars to internal
type, if not set to external Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf4
1 files 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}"