From 3b8b3f7a0b9304151703f8045869948bcfdd5d7e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Sep 2009 01:00:45 +0100 Subject: bitbake.conf: Add SDK variable definitions Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index b48b129ff..a449b5115 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))]}" -- cgit v1.2.3