瀏覽代碼

tcmode: only remove debug-prefix-map for target recipes

These are the only ones using the external toolchain, so they're the
only ones that would break due to an older external toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 4 年之前
父節點
當前提交
4856d9dc75
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      conf/distro/include/tcmode-external.inc

+ 1 - 1
conf/distro/include/tcmode-external.inc

@@ -113,6 +113,6 @@ GCC_VERSION[vardepvalue] = "${GCC_VERSION}"
 
 # macro-prefix-map was introduced in gcc 8
 REMOVE_MACRO_PREFIX_MAP = "-fmacro-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
-DEBUG_PREFIX_MAP_remove = "${@'${REMOVE_MACRO_PREFIX_MAP}' if '${GCC_VERSION}' and [int(v) for v in '${GCC_VERSION}'.split('.')] < [8,0] else ''}"
+DEBUG_PREFIX_MAP_remove_class-target = "${@'${REMOVE_MACRO_PREFIX_MAP}' if '${GCC_VERSION}' and [int(v) for v in '${GCC_VERSION}'.split('.')] < [8,0] else ''}"
 
 BUILDCFG_VARS += "EXTERNAL_TOOLCHAIN EXTERNAL_TARGET_SYS GCC_VERSION"