Browse Source

tcmode: prefer glibc-external for linux-libc-headers

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 4 years ago
parent
commit
da4d8d7578
1 changed files with 6 additions and 0 deletions
  1. 6 0
      conf/distro/include/tcmode-external.inc

+ 6 - 0
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}"