summaryrefslogtreecommitdiffstats
path: root/meta
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
parentf1c780d185e6dd3b30e6f12288d06ffb5e097192 (diff)
downloadpoky-3b8b3f7a0b9304151703f8045869948bcfdd5d7e.tar.gz
bitbake.conf: Add SDK variable definitions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-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'
88TARGET_PREFIX = "${TARGET_SYS}-" 88TARGET_PREFIX = "${TARGET_SYS}-"
89TARGET_CC_ARCH = "" 89TARGET_CC_ARCH = ""
90 90
91SDK_ARCH = "${BUILD_ARCH}"
92SDK_OS = "${BUILD_OS}"
93SDK_VENDOR = "-pokysdk"
94SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''][bb.data.getVar('SDK_OS', d, 1) == ('' or 'custom')]}"
95SDK_PREFIX = "${SDK_SYS}-"
96SDK_CC_ARCH = "${BUILD_CC_ARCH}"
97
91BASE_PACKAGE_ARCH = "${HOST_ARCH}" 98BASE_PACKAGE_ARCH = "${HOST_ARCH}"
92PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" 99PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
93MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" 100MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"