diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-01-27 11:13:43 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-02 16:55:31 +0000 |
commit | ae21dc189f78e428a5c02ee90605843eacc1eb94 (patch) | |
tree | dbe6c253babd63e6b3e7a178992f488f7975fde9 /meta/conf | |
parent | aa2c4e3879ec51ea117aa23c4917e9d137371099 (diff) | |
download | poky-ae21dc189f78e428a5c02ee90605843eacc1eb94.tar.gz |
external-csl-toolchain: fixes for metadata changes
These allow the recipe to build again:
- add compilerlibs, g++, libgcc to the provides
- add linux-libc-headers-dev to the packages
- in libc-package, only sed the ldd.bash.in file if it exists, as the external
toolchain is using that class as well
- shift the inherit location of the libc classes, as they were overriding the
recipe's do_install
- use ?= for EXTERNAL_TOOLCHAIN, so the user can set it
(From OE-Core rev: 8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/tcmode-external-csl2008q3.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tcmode-external-csl2008q3.inc b/meta/conf/distro/include/tcmode-external-csl2008q3.inc index 15863651a2..31055dcab4 100644 --- a/meta/conf/distro/include/tcmode-external-csl2008q3.inc +++ b/meta/conf/distro/include/tcmode-external-csl2008q3.inc | |||
@@ -4,22 +4,27 @@ | |||
4 | 4 | ||
5 | TARGET_VENDOR = "-none" | 5 | TARGET_VENDOR = "-none" |
6 | 6 | ||
7 | EXTERNAL_TOOLCHAIN = "/usr/local/csl/arm-2008q3" | 7 | EXTERNAL_TOOLCHAIN ?= "/usr/local/csl/arm-2008q3" |
8 | 8 | ||
9 | PATH =. "${EXTERNAL_TOOLCHAIN}/bin:" | 9 | PATH =. "${EXTERNAL_TOOLCHAIN}/bin:" |
10 | 10 | ||
11 | PREFERRED_PROVIDER_linux-libc-headers = "external-csl-toolchain" | 11 | PREFERRED_PROVIDER_linux-libc-headers = "external-csl-toolchain" |
12 | PREFERRED_PROVIDER_linux-libc-headers-dev = "external-csl-toolchain" | ||
12 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc = "external-csl-toolchain" | 13 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc = "external-csl-toolchain" |
13 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-initial = "external-csl-toolchain" | 14 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-initial = "external-csl-toolchain" |
14 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-intermediate = "external-csl-toolchain" | 15 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-gcc-intermediate = "external-csl-toolchain" |
16 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-g++ = "external-csl-toolchain" | ||
15 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-binutils = "external-csl-toolchain" | 17 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-binutils = "external-csl-toolchain" |
16 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "external-csl-toolchain" | 18 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "external-csl-toolchain" |
19 | PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-compilerlibs = "external-csl-toolchain" | ||
20 | PREFERRED_PROVIDER_libgcc = "external-csl-toolchain" | ||
17 | PREFERRED_PROVIDER_virtual/libc = "external-csl-toolchain" | 21 | PREFERRED_PROVIDER_virtual/libc = "external-csl-toolchain" |
18 | PREFERRED_PROVIDER_virtual/libintl = "external-csl-toolchain" | 22 | PREFERRED_PROVIDER_virtual/libintl = "external-csl-toolchain" |
19 | PREFERRED_PROVIDER_virtual/libiconv = "external-csl-toolchain" | 23 | PREFERRED_PROVIDER_virtual/libiconv = "external-csl-toolchain" |
20 | PREFERRED_PROVIDER_glibc-thread-db = "external-csl-toolchain" | 24 | PREFERRED_PROVIDER_glibc-thread-db = "external-csl-toolchain" |
21 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain" | 25 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain" |
22 | 26 | ||
27 | |||
23 | PREFERRED_VERSION_external-csl-toolchain = "2008q3-72" | 28 | PREFERRED_VERSION_external-csl-toolchain = "2008q3-72" |
24 | 29 | ||
25 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | 30 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " |