summaryrefslogtreecommitdiff
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-09 00:18:41 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-09 00:18:41 +0000
commit8fd453d02617b1f29d9a9007c63139405a9ea42c (patch)
tree3fe7303442fe9a2418a326fd102bd98ed2054680 /conf/bitbake.conf
parent4dccbaaec32142f6dc9c37973b248b23e83eda95 (diff)
Add a shortcut for the EXEEXT we'll use in packaging
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf3
1 files changed, 3 insertions, 0 deletions
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))]}"