diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-01 13:23:41 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-01 13:23:41 +0000 |
commit | 009d2a0b7e423b3a5c972d2735588cdc677f4165 (patch) | |
tree | dd5449b00d968efe9a8eb4a569d5fca59be2049a /meta/conf/distro | |
parent | 69f5314ac4302c308d785ff6a8264b85a1c84fdb (diff) | |
download | poky-009d2a0b7e423b3a5c972d2735588cdc677f4165.tar.gz |
Use POKYMODE to enable the external toolchain
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2285 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/poky-external.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc new file mode 100644 index 0000000000..3856fe1ca6 --- /dev/null +++ b/meta/conf/distro/include/poky-external.inc | |||
@@ -0,0 +1,25 @@ | |||
1 | TARGET_VENDOR = "-poky" | ||
2 | |||
3 | EXTERNAL_TOOLCHAIN = "${SDK_PREFIX}" | ||
4 | |||
5 | PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:" | ||
6 | |||
7 | PREFERRED_PROVIDER_linux-libc-headers = "external-poky-toolchain" | ||
8 | PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc = "external-poky-toolchain" | ||
9 | PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc-initial = "external-poky-toolchain" | ||
10 | PREFERRED_PROVIDER_virtual/arm-poky-linux-binutils = "external-poky-toolchain" | ||
11 | PREFERRED_PROVIDER_virtual/arm-poky-linux-libc-for-gcc = "external-poky-toolchain" | ||
12 | PREFERRED_PROVIDER_virtual/i586-poky-linux-gcc = "external-poky-toolchain" | ||
13 | PREFERRED_PROVIDER_virtual/i586-poky-linux-gcc-initial = "external-poky-toolchain" | ||
14 | PREFERRED_PROVIDER_virtual/i586-poky-linux-binutils = "external-poky-toolchain" | ||
15 | PREFERRED_PROVIDER_virtual/i586-poky-linux-libc-for-gcc = "external-poky-toolchain" | ||
16 | PREFERRED_PROVIDER_virtual/libc = "external-poky-toolchain" | ||
17 | PREFERRED_PROVIDER_virtual/libintl = "external-poky-toolchain" | ||
18 | PREFERRED_PROVIDER_virtual/libiconv = "external-poky-toolchain" | ||
19 | PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" | ||
20 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" | ||
21 | |||
22 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | ||
23 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | ||
24 | |||
25 | |||