From 52e9e14cb439903ba999c5c19e04affd6f99ab4a Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Sat, 3 Mar 2018 01:22:26 +0500 Subject: [PATCH] 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 --- conf/distro/include/tcmode-external.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/distro/include/tcmode-external.inc b/conf/distro/include/tcmode-external.inc index 97e1f2e..9998fac 100644 --- a/conf/distro/include/tcmode-external.inc +++ b/conf/distro/include/tcmode-external.inc @@ -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