diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 09:12:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:12 +0100 |
commit | 50170617c632e62aa68e9bbb700fd8290fa4b90e (patch) | |
tree | 9d8456a926566080693eda3ffec4a8c64b8c8238 /meta/conf/bitbake.conf | |
parent | b64d6af3ec80d2f4040378c785ffcac415c0827a (diff) | |
download | poky-50170617c632e62aa68e9bbb700fd8290fa4b90e.tar.gz |
bitbake.conf/classes/gcc: Don't hardcode -nativesdk
Hardcoding -nativesdk as the sdk package architecture is inflexible. We may have
multiple different target OS and we need a way to be able to separate them. Turning
this into a configurable value allows the flexibility we need to build different
SDKMACHINEs with different OS targets.
The commit should have no behaviour change, just makes things more configurable.
(From OE-Core rev: a2110e86b98d646e136de9ec6b8e668079b0d4f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d98fde1583..6f3d9bbd21 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -127,7 +127,8 @@ SDK_VENDOR = "-oesdk" | |||
127 | SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + d.getVar('SDK_OS', True), ''][d.getVar('SDK_OS', True) == ('' or 'custom')]}" | 127 | SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + d.getVar('SDK_OS', True), ''][d.getVar('SDK_OS', True) == ('' or 'custom')]}" |
128 | SDK_PREFIX = "${SDK_SYS}-" | 128 | SDK_PREFIX = "${SDK_SYS}-" |
129 | SDK_CC_ARCH = "${BUILD_CC_ARCH}" | 129 | SDK_CC_ARCH = "${BUILD_CC_ARCH}" |
130 | SDK_PACKAGE_ARCHS = "all any noarch ${SDK_ARCH}-nativesdk" | 130 | SDKPKGSUFFIX = "nativesdk" |
131 | SDK_PACKAGE_ARCHS = "all any noarch ${SDK_ARCH}-${SDKPKGSUFFIX}" | ||
131 | SDK_LD_ARCH = "${BUILD_LD_ARCH}" | 132 | SDK_LD_ARCH = "${BUILD_LD_ARCH}" |
132 | SDK_AS_ARCH = "${BUILD_AS_ARCH}" | 133 | SDK_AS_ARCH = "${BUILD_AS_ARCH}" |
133 | 134 | ||