From bae98b2af6f47211854d0f8304dd2639df0b1024 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 21 Jul 2015 12:46:11 -0700 Subject: [PATCH] tcmode: blacklist gcc-source Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index 6c7a1e4..f25aaeb 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -53,6 +53,7 @@ PNBLACKLIST[glibc-initial] = "not building with an external toolchain" PNBLACKLIST[glibc-intermediate] = "not building with an external toolchain" PNBLACKLIST[gcc-runtime] = "not building with an external toolchain" PNBLACKLIST[gcc-sanitizers] = "not building with an external toolchain" +PNBLACKLIST[gcc-source] = "not building with an external toolchain" PNBLACKLIST[libgcc-initial] = "not building with an external toolchain" PNBLACKLIST[libgcc] = "not building with an external toolchain" PNBLACKLIST[linux-libc-headers] = "not building with an external toolchain" @@ -63,6 +64,8 @@ PNBLACKLIST_DYNAMIC += "\ ${MLPREFIX}gcc-cross-${TARGET_ARCH} \ ${MLPREFIX}gcc-cross-initial-${TARGET_ARCH} \ ${MLPREFIX}binutils-cross-${TARGET_ARCH} \ + \ + gcc-source-${@'${GCCVERSION}'.replace('%', '')} \ " # Determine the prefixes to check for based on the target architecture (before @@ -188,6 +191,7 @@ addhandler toolchain_sanity_check require conf/distro/include/external-run.inc +GCCVERSION ?= "${@'.'.join('${GCC_VERSION}'.split('.')[:2])}%" GCC_VERSION = "${@external_run(d, 'gcc', '-dumpversion').rstrip()}" GCC_VERSION_allarch = "" GCC_VERSION[vardepvalue] = "${GCC_VERSION}"