From da4d8d7578cf60b0218ffa435d6957865f2ed9ee Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 25 Oct 2019 23:58:16 +0500 Subject: [PATCH] tcmode: prefer glibc-external for linux-libc-headers Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/distro/include/tcmode-external.inc b/conf/distro/include/tcmode-external.inc index 3c18471..189ba4f 100644 --- a/conf/distro/include/tcmode-external.inc +++ b/conf/distro/include/tcmode-external.inc @@ -36,6 +36,12 @@ PREFERRED_PROVIDER_oprofile ??= "oprofile" # obeyed for the runtime package installation. PREFERRED_PROVIDER_${MLPREFIX}gdbserver ?= "${MLPREFIX}gdb" +# This is defined in default-providers.inc, which is parsed before the tcmode, +# so we can't use ?= +PREFERRED_PROVIDER_linux-libc-headers = "glibc-external" +PNBLACKLIST[linux-libc-headers] = "not building with an external toolchain" +PNBLACKLIST[linux-libc-headers-yocto] = "not building with an external toolchain" + PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ??= "gcc-external-cross-canadian-${TRANSLATED_TARGET_ARCH}" PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ??= "binutils-external-cross-canadian-${TRANSLATED_TARGET_ARCH}" PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ??= "gdb-external-cross-canadian-${TRANSLATED_TARGET_ARCH}"