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/classes/crosssdk.bbclass | |
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/classes/crosssdk.bbclass')
-rw-r--r-- | meta/classes/crosssdk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index 635c0c45cb..bcc285bdbf 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass | |||
@@ -7,7 +7,7 @@ python () { | |||
7 | d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True)) | 7 | d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True)) |
8 | } | 8 | } |
9 | 9 | ||
10 | STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | 10 | STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${SDKPKGSUFFIX}${SDK_VENDOR}-${SDK_OS}" |
11 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 11 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
12 | 12 | ||
13 | TARGET_ARCH = "${SDK_ARCH}" | 13 | TARGET_ARCH = "${SDK_ARCH}" |