From d08a375446ed9a7f079406a75b69f476c04215e7 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 20 Sep 2012 08:07:55 -0700 Subject: [PATCH] tcmode: add default LDEMULATION to fix parse error Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index 589d07d..1657789 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -69,6 +69,7 @@ CSL_IS_PRO = "${@'1' if os.path.exists('${EXTERNAL_TOOLCHAIN}/license') else '0' TUNE_CCARGS_append_x86 = " ${@'-msgxx-glibc' if CSL_IS_PRO == '1' else ''}" TUNE_CCARGS_append_x86-64 = " ${@'-msgxx-glibc' if CSL_IS_PRO == '1' else ''}" +LDEMULATION = "" LDEMULATION_ENDIAN = "${@'bt' if 'bigendian' in TUNE_FEATURES.split() else 'lt'}" LDEMULATION_BITS = "${@'64' if 'n64' in TUNE_FEATURES.split() else '32'}" LDEMULATION_mips64 = "elf${LDEMULATION_BITS}${LDEMULATION_ENDIAN}smip${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '', d)}"