From 05a7e45b7bfb3c1d76ab17414478b24390ecff57 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 20 Apr 2015 13:22:12 -0700 Subject: [PATCH] tcmode: don't use the Name handling in inline python Currently, the checksumming doesn't handle it well. Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index a1f1520..1f953d1 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -97,10 +97,10 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" CSL_IS_PRO = "${@'1' if os.path.exists('${EXTERNAL_TOOLCHAIN}/license') else '0'}" LDEMULATION = "" -LDEMULATION_ENDIAN = "${@'bt' if 'bigendian' in TUNE_FEATURES.split() else 'lt'}" -LDEMULATION_BITS = "${@'64' if 'n64' in TUNE_FEATURES.split() else '32'}" +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)}" -TUNE_LDARGS += "${@'-m ${LDEMULATION}' if LDEMULATION else ''}" +TUNE_LDARGS += "${@'-m ${LDEMULATION}' if '${LDEMULATION}' else ''}" # Ensure that the licensing variables are available to the toolchain. export MGLS_LICENSE_FILE