diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2006-07-28 21:34:45 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2006-07-28 21:34:45 +0000 |
commit | e485a5d542a24109c8ab97e58916359efc0cd044 (patch) | |
tree | b46fa41c80b6d655ed5fe154d70682fd5a87b5c4 /conf/bitbake.conf | |
parent | 976cfc388b399cf4bdcdb9ed91db383519cdeeac (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/bitbake.conf')
-rw-r--r-- | conf/bitbake.conf | 2 |
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 = "" |