summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-02-26 08:49:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-26 10:56:45 +0000
commit745f5c329d493346502c591700c124cc8523dcdd (patch)
tree69bcf4607dcb4acf6c3caa2234fa23b9dafc23b1
parent7160f874c435f5f9016438137cfc7ad7d33805ba (diff)
downloadpoky-745f5c329d493346502c591700c124cc8523dcdd.tar.gz
bitbake.conf: remove TARGET_ARCH from in SDKPATH
* SDKPATH shouldn't depend on TARGET_ARCH as discused here: http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html * introduce SDK_NAME_PREFIX so that distributions can overwrite only this instead of whole SDK_NAME (From OE-Core rev: 54821d53f75eb31f1eca3809e674680316dcbf69) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 55daa9eb91..f2666cb79c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -360,8 +360,13 @@ DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools"
360 360
361PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}" 361PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}"
362 362
363SDK_NAME = "oecore-${SDK_ARCH}-${TARGET_ARCH}" 363##################################################################
364SDKPATH = "/usr/local/${SDK_NAME}" 364# SDK variables,
365##################################################################
366
367SDK_NAME_PREFIX = "oecore"
368SDK_NAME = "${SDK_NAME_PREFIX}-${SDK_ARCH}-${TARGET_ARCH}"
369SDKPATH = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}"
365SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" 370SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
366 371
367################################################################## 372##################################################################