summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-09 00:17:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-09 00:17:11 +0000
commit4dccbaaec32142f6dc9c37973b248b23e83eda95 (patch)
tree368c5b1d30914bed396a4ed46334c2d3434dd80b
parent0b6e634b8c37179bf45ac8645a7af4a9f0381b37 (diff)
bitbake.conf: Add EXEEXT variables for BUILD/HOST/TARGET so we can start to handle other architectures
-rw-r--r--classes/cross.bbclass1
-rw-r--r--classes/native.bbclass2
-rw-r--r--classes/sdk.bbclass1
-rw-r--r--conf/bitbake.conf3
4 files changed, 7 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 9dddca127a..7debde6669 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -16,6 +16,7 @@ HOST_VENDOR = "${BUILD_VENDOR}"
HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
+HOST_EXEEXT = "${BUILD_EXEEXT}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 61048b6b14..4f3856ccf5 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -18,12 +18,14 @@ TARGET_OS = "${BUILD_OS}"
TARGET_VENDOR = "${BUILD_VENDOR}"
TARGET_PREFIX = "${BUILD_PREFIX}"
TARGET_CC_ARCH = "${BUILD_CC_ARCH}"
+TARGET_EXEEXT = "${BUILD_EXEEXT}"
HOST_ARCH = "${BUILD_ARCH}"
HOST_OS = "${BUILD_OS}"
HOST_VENDOR = "${BUILD_VENDOR}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
+HOST_EXEEXT = "${BUILD_EXEEXT}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass
index 6c66eac7ad..da6cab9cd5 100644
--- a/classes/sdk.bbclass
+++ b/classes/sdk.bbclass
@@ -20,6 +20,7 @@ HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
#HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}"
+HOST_EXEEXT = "${BUILD_EXEEXT}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
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}"