From 4dccbaaec32142f6dc9c37973b248b23e83eda95 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 9 Jan 2009 00:17:11 +0000 Subject: bitbake.conf: Add EXEEXT variables for BUILD/HOST/TARGET so we can start to handle other architectures --- conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 8a754fdc15..0a41e46c35 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -71,6 +71,7 @@ BUILD_VENDOR = "" BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" BUILD_PREFIX = "" BUILD_CC_ARCH = "" +BUILD_EXEEXT = "" HOST_ARCH = "${TARGET_ARCH}" HOST_OS = "${TARGET_OS}" @@ -78,6 +79,7 @@ HOST_VENDOR = "${TARGET_VENDOR}" HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" HOST_PREFIX = "${TARGET_PREFIX}" HOST_CC_ARCH = "${TARGET_CC_ARCH}" +HOST_EXEEXT = "" TARGET_ARCH ?= "INVALID" TARGET_OS = "INVALID" @@ -85,6 +87,7 @@ TARGET_VENDOR = "${BUILD_VENDOR}" TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}" TARGET_PREFIX = "${TARGET_SYS}-" TARGET_CC_ARCH = "" +TARGET_EXEEXT = "" BASE_PACKAGE_ARCH = "${HOST_ARCH}" PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" -- cgit v1.2.3 From 8fd453d02617b1f29d9a9007c63139405a9ea42c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 9 Jan 2009 00:18:41 +0000 Subject: Add a shortcut for the EXEEXT we'll use in packaging --- conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 0a41e46c35..53473cf390 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -89,6 +89,9 @@ TARGET_PREFIX = "${TARGET_SYS}-" TARGET_CC_ARCH = "" TARGET_EXEEXT = "" +# A shortcut for the commonly used value +EXEEXT = "${HOST_EXEEXT}" + 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