mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-16 20:22:17 +02:00
tcmode: add to gcc compiler component search path
This lets the cross gcc locate the binaries produced by binutils-cross. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -74,6 +74,11 @@ LDEMULATION_x86-64 = "elf_${TARGET_ARCH}"
|
||||
LDEMULATION_x86-64_linux-gnux32 = "elf32_${TARGET_ARCH}"
|
||||
TUNE_LDARGS += "${@'-m ${LDEMULATION}' if '${LDEMULATION}' else ''}"
|
||||
|
||||
# Additional search path for compiler component programs, to let us rebuild
|
||||
# components if necessary.
|
||||
gcc_bindir = "${STAGING_BINDIR_TOOLCHAIN}/gcc"
|
||||
TUNE_CCARGS += "-B${gcc_bindir}"
|
||||
|
||||
python toolchain_metadata_setup () {
|
||||
# The external toolchain may not have been built with the yocto preferred
|
||||
# gnu hash setting, so ensure that the corresponding sanity check is a
|
||||
|
||||
Reference in New Issue
Block a user