diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 01:00:45 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 22:21:52 +0100 |
commit | 3b8b3f7a0b9304151703f8045869948bcfdd5d7e (patch) | |
tree | bdc6af81f7a51147750be8dc22adc2dee9c147b9 | |
parent | f1c780d185e6dd3b30e6f12288d06ffb5e097192 (diff) | |
download | openembedded-core-3b8b3f7a0b9304151703f8045869948bcfdd5d7e.tar.gz openembedded-core-3b8b3f7a0b9304151703f8045869948bcfdd5d7e.tar.bz2 openembedded-core-3b8b3f7a0b9304151703f8045869948bcfdd5d7e.zip |
bitbake.conf: Add SDK variable definitions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/conf/bitbake.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index b48b129fff..a449b51151 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -88,6 +88,13 @@ TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS' TARGET_PREFIX = "${TARGET_SYS}-" TARGET_CC_ARCH = "" +SDK_ARCH = "${BUILD_ARCH}" +SDK_OS = "${BUILD_OS}" +SDK_VENDOR = "-pokysdk" +SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''][bb.data.getVar('SDK_OS', d, 1) == ('' or 'custom')]}" +SDK_PREFIX = "${SDK_SYS}-" +SDK_CC_ARCH = "${BUILD_CC_ARCH}" + BASE_PACKAGE_ARCH = "${HOST_ARCH}" PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" |