summaryrefslogtreecommitdiff
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 01:00:45 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:21:52 +0100
commit3b8b3f7a0b9304151703f8045869948bcfdd5d7e (patch)
treebdc6af81f7a51147750be8dc22adc2dee9c147b9 /meta/conf/bitbake.conf
parentf1c780d185e6dd3b30e6f12288d06ffb5e097192 (diff)
downloadopenembedded-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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf7
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))]}"