From e485a5d542a24109c8ab97e58916359efc0cd044 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 28 Jul 2006 21:34:45 +0000 Subject: 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 --- conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "" -- cgit v1.2.3