summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2006-07-28 21:34:45 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2006-07-28 21:34:45 +0000
commite485a5d542a24109c8ab97e58916359efc0cd044 (patch)
treeb46fa41c80b6d655ed5fe154d70682fd5a87b5c4 /conf
parent976cfc388b399cf4bdcdb9ed91db383519cdeeac (diff)
conf/bitbake.conf: allow new field custom for TARGET_SYS
some architecture has no sub-arch like msp430, so we should honor this because otherwise the configure-scripts for binutils and gcc won't work the right way
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index d446d40b8f..4d99f0885e 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -51,7 +51,7 @@ HOST_CC_ARCH = "${TARGET_CC_ARCH}"
TARGET_ARCH = "INVALID"
TARGET_OS = "INVALID"
TARGET_VENDOR = "${BUILD_VENDOR}"
-TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+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 = ""