mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user