summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-03-23 22:30:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 10:59:54 +0100
commit844149d392b224a0b9859fdf5a0474c63255dea3 (patch)
tree45847dba2cf8a097ceef3e3588026a99dfad6393 /meta/conf/bitbake.conf
parent8809f2be927a0cbe2160a87c52120ed93c069ac8 (diff)
downloadpoky-844149d392b224a0b9859fdf5a0474c63255dea3.tar.gz
bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME
* also use weak assignment for SDK_NAME_PREFIX as suggested by khem * TUNE_PKGARCH is not 100% right too, because such SDK image usually has few machine specific packages included (e.g. base-files, securetty, opkg configs) but those are not important for SDK users so it's better to have one SDK for whole e.g. armv7a-vfp-neon then 6 SDK for each machine which would work the same. You can see diff between crespo and om-gta04 SDK here: http://build.shr-project.org/shr-core/sdk/oecore-i686-armv7a-vfp-neon-toolchain-efl-crespo-om-gta04.diff (From OE-Core rev: 5a1f172d35be610688842a8a9a84f24edb9aeb51) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 56e3e4de45..91fe070718 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -366,8 +366,8 @@ PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}"
366# SDK variables, 366# SDK variables,
367################################################################## 367##################################################################
368 368
369SDK_NAME_PREFIX = "oecore" 369SDK_NAME_PREFIX ?= "oecore"
370SDK_NAME = "${SDK_NAME_PREFIX}-${SDK_ARCH}-${TARGET_ARCH}" 370SDK_NAME = "${SDK_NAME_PREFIX}-${SDK_ARCH}-${TUNE_PKGARCH}"
371SDKPATH = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}" 371SDKPATH = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}"
372SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" 372SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
373 373