diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-01-27 11:13:44 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-02 16:55:31 +0000 |
commit | 7923ba87a220a216292fcb498bf11149189a3cbb (patch) | |
tree | 06f0b6399e402ef4548f995e7f3e9a1030539f54 /meta/conf/distro/include/tcmode-external-csl.inc | |
parent | ae21dc189f78e428a5c02ee90605843eacc1eb94 (diff) | |
download | poky-7923ba87a220a216292fcb498bf11149189a3cbb.tar.gz |
external-csl-toolchain: avoid the hardcoded version/prefix
(From OE-Core rev: 4346516a6a719355d2793af289f93e14d3dedd0c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/tcmode-external-csl.inc')
-rw-r--r-- | meta/conf/distro/include/tcmode-external-csl.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc new file mode 100644 index 0000000000..0af3a45127 --- /dev/null +++ b/meta/conf/distro/include/tcmode-external-csl.inc | |||
@@ -0,0 +1,30 @@ | |||
1 | # | ||
2 | # Configuration to use external CSL toolchain | ||
3 | # | ||
4 | |||
5 | TARGET_VENDOR = "-none" | ||
6 | |||
7 | EXTERNAL_TOOLCHAIN ?= "/usr/local/csl/${TARGET_ARCH}" | ||
8 | |||
9 | PATH =. "${EXTERNAL_TOOLCHAIN}/bin:" | ||
10 | |||
11 | PREFERRED_PROVIDER_linux-libc-headers = "external-csl-toolchain" | ||
12 | PREFERRED_PROVIDER_linux-libc-headers-dev = "external-csl-toolchain" | ||
13 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "external-csl-toolchain" | ||
14 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "external-csl-toolchain" | ||
15 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-csl-toolchain" | ||
16 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "external-csl-toolchain" | ||
17 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "external-csl-toolchain" | ||
18 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "external-csl-toolchain" | ||
19 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "external-csl-toolchain" | ||
20 | PREFERRED_PROVIDER_libgcc = "external-csl-toolchain" | ||
21 | PREFERRED_PROVIDER_virtual/libc = "external-csl-toolchain" | ||
22 | PREFERRED_PROVIDER_virtual/libintl = "external-csl-toolchain" | ||
23 | PREFERRED_PROVIDER_virtual/libiconv = "external-csl-toolchain" | ||
24 | PREFERRED_PROVIDER_glibc-thread-db = "external-csl-toolchain" | ||
25 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain" | ||
26 | |||
27 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | ||
28 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | ||
29 | |||
30 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" | ||