]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Add SDK variable definitions
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Sep 2009 00:00:45 +0000 (01:00 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Sep 2009 21:21:52 +0000 (22:21 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/conf/bitbake.conf

index b48b129fffcff4815e88d41597393912c55db69d..a449b511513ed91ab5ebe91ec17a3acc25d0aef1 100644 (file)
@@ -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))]}"