From 063f2efff16bd2b411b25b7bc9f19c2c59bbf81d Mon Sep 17 00:00:00 2001 From: Mike Turquette Date: Fri, 23 Jan 2009 15:53:25 +0000 Subject: Add 2008q3 CSL toolchain support --- .../distro/include/poky-external-csl2008q3.inc | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta/conf/distro/include/poky-external-csl2008q3.inc (limited to 'meta/conf/distro/include') diff --git a/meta/conf/distro/include/poky-external-csl2008q3.inc b/meta/conf/distro/include/poky-external-csl2008q3.inc new file mode 100644 index 000000000..124b1eab1 --- /dev/null +++ b/meta/conf/distro/include/poky-external-csl2008q3.inc @@ -0,0 +1,28 @@ +# +# Poky configuration to use external CSL 2008q3-72 toolchain (ARM EABI) +# + +TARGET_VENDOR = "-none" + +EXTERNAL_TOOLCHAIN = "/usr/local/csl/arm-2008q3" + +PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:" + +PREFERRED_PROVIDER_linux-libc-headers = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-initial = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-intermediate = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-binutils = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/libc = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/libintl = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/libiconv = "external-csl-toolchain" +PREFERRED_PROVIDER_glibc-thread-db = "external-csl-toolchain" +PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain" + +PREFERRED_VERSION_external-csl-toolchain = "2008q3-72" + +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 " + +TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" -- cgit v1.2.3