diff options
Diffstat (limited to 'meta/conf')
-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 0000000000..e114f342ca --- /dev/null +++ b/meta/conf/external_toolchain.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | TARGET_VENDOR = "-poky" | ||
2 | |||
3 | EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}" | ||
4 | |||
5 | PATH =+ ":${EXTERNAL_TOOLCHAIN}/bin:" | ||
6 | |||
7 | ASSUME_PROVIDED += "\ | ||
8 | linux-libc-headers \ | ||
9 | virtual/arm-poky-linux-gnueabi-gcc \ | ||
10 | virtual/arm-poky-linux-gnueabi-gcc-initial \ | ||
11 | virtual/arm-poky-linux-binutils \ | ||
12 | virtual/arm-poky-linux-libc-for-gcc \ | ||
13 | virtual/libc \ | ||
14 | virtual/libintl \ | ||
15 | virtual/libiconv \ | ||
16 | glibc-thread-db \ | ||
17 | virtual/linux-libc-headers " | ||
18 | |||
19 | TARGET_CPPFLAGS_append = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | ||
20 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | ||