summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/conf/external_toolchain.conf23
1 files changed, 12 insertions, 11 deletions
diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf
index e114f342c..b5bf220dc 100644
--- a/meta/conf/external_toolchain.conf
+++ b/meta/conf/external_toolchain.conf
@@ -4,17 +4,18 @@ EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}"
PATH =+ ":${EXTERNAL_TOOLCHAIN}/bin:"
-ASSUME_PROVIDED += "\
- linux-libc-headers \
- virtual/arm-poky-linux-gnueabi-gcc \
- virtual/arm-poky-linux-gnueabi-gcc-initial \
- virtual/arm-poky-linux-binutils \
- virtual/arm-poky-linux-libc-for-gcc \
- virtual/libc \
- virtual/libintl \
- virtual/libiconv \
- glibc-thread-db \
- virtual/linux-libc-headers "
+PREFERRED_PROVIDER_linux-libc-headers = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc-initial = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/arm-poky-linux-binutils = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/arm-poky-linux-libc-for-gcc = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/libc = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/libintl = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/libiconv = "external-poky-toolchain"
+PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain"
TARGET_CPPFLAGS_append = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "
+
+