mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
bitbake.conf: Add SDK variable definitions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -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))]}"
|
||||
|
||||
Reference in New Issue
Block a user