diff options
-rw-r--r-- | meta/conf/external_toolchain.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf new file mode 100644 index 000000000..e114f342c --- /dev/null +++ b/meta/conf/external_toolchain.conf @@ -0,0 +1,20 @@ +TARGET_VENDOR = "-poky" + +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 " + +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 " |