summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/poky-external.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc
new file mode 100644
index 000000000..3856fe1ca
--- /dev/null
+++ b/meta/conf/distro/include/poky-external.inc
@@ -0,0 +1,25 @@
+TARGET_VENDOR = "-poky"
+
+EXTERNAL_TOOLCHAIN = "${SDK_PREFIX}"
+
+PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:"
+
+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/i586-poky-linux-gcc = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/i586-poky-linux-gcc-initial = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/i586-poky-linux-binutils = "external-poky-toolchain"
+PREFERRED_PROVIDER_virtual/i586-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_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
+TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "
+
+