Sfoglia il codice sorgente

tcmode: work around mlprefix preference bug wrt gdbserver

There's a bug where the implicitly created
`PREFERRED_PROVIDER_${MLPREFIX}<provider>` isn't being obeyed for
runtime package installation in a multilib image, so work around it by
explicitly specifying mlprefix.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 5 anni fa
parent
commit
e90fb8fd9a
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      conf/distro/include/tcmode-external.inc

+ 3 - 1
conf/distro/include/tcmode-external.inc

@@ -16,8 +16,10 @@ PREFERRED_PROVIDER_glibc ?= "glibc-external"
 PREFERRED_PROVIDER_virtual/libc ?= "glibc-external"
 PREFERRED_PROVIDER_virtual/libintl ?= "glibc-external"
 PREFERRED_PROVIDER_virtual/libiconv ?= "glibc-external"
-PREFERRED_PROVIDER_gdbserver ??= "gdb"
 PREFERRED_PROVIDER_oprofile ??= "oprofile"
+# Work around bug where the implicitly created mlprefix preference isn't being
+# 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 ?=