diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-02-26 08:49:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-26 10:55:07 +0000 |
commit | 54821d53f75eb31f1eca3809e674680316dcbf69 (patch) | |
tree | 1c709ca012016c98418ec43e2361870280fe8c72 /meta/conf | |
parent | d3a06178202c65ce52ea8ad7af5b72ed5c0881d4 (diff) | |
download | openembedded-core-54821d53f75eb31f1eca3809e674680316dcbf69.tar.gz openembedded-core-54821d53f75eb31f1eca3809e674680316dcbf69.tar.bz2 openembedded-core-54821d53f75eb31f1eca3809e674680316dcbf69.zip |
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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 9 |
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" PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}" -SDK_NAME = "oecore-${SDK_ARCH}-${TARGET_ARCH}" -SDKPATH = "/usr/local/${SDK_NAME}" +################################################################## +# SDK variables, +################################################################## + +SDK_NAME_PREFIX = "oecore" +SDK_NAME = "${SDK_NAME_PREFIX}-${SDK_ARCH}-${TARGET_ARCH}" +SDKPATH = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}" SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" ################################################################## |