Files
meta-external-toolchain/core/recipes-devtools/gcc/gcc_%.bbappend
Christopher Larson fd7916fa83 gcc: drop TARGET_SYS workaround
This is no longer needed, as the external toolchain no longer sets
TARGET_PREFIX.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-09 08:00:43 +05:00

11 lines
496 B
Plaintext

# FIXME: resolve gcc version mismatch issues with ${libdir}/gcc/*/<version>
# filesystem paths
python () {
if d.getVar('TCMODE', True).startswith('external'):
# unwind.h will come from libgcc-external, we don't want to try to pull it
# from the cross area of the sysroot
inst = d.getVar('do_install', False).splitlines()
inst = filter(lambda l: not ('unwind.h' in l and '${STAGING_LIBDIR_NATIVE}' in l), inst)
d.setVar('do_install', '\n'.join(inst))
}