summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-31 14:13:57 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-31 14:13:57 +0000
commit8a5b785a6de3cab51c553edbdddf2c6cf690d1e1 (patch)
treeac1f30f3d85886413be8d3df731a87fa67457a27
parent8cf058f8c13dab7a78c5812c5a37c87bc49284ca (diff)
downloadopenembedded-core-8a5b785a6de3cab51c553edbdddf2c6cf690d1e1.tar.gz
openembedded-core-8a5b785a6de3cab51c553edbdddf2c6cf690d1e1.tar.bz2
openembedded-core-8a5b785a6de3cab51c553edbdddf2c6cf690d1e1.tar.xz
openembedded-core-8a5b785a6de3cab51c553edbdddf2c6cf690d1e1.zip
conf: Add external_toolchain conf file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1838 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/external_toolchain.conf20
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 "