diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-22 16:59:22 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-22 16:59:22 +0000 |
commit | 675d1905db6941e2d9a33541f0a1ecf516a376b6 (patch) | |
tree | 203fb5c017b4cea65b54eb57a3c857ee0d374860 /meta/conf | |
parent | 6f850a20abec85c29ccc1b0d9290fc1dfffa5070 (diff) | |
download | poky-675d1905db6941e2d9a33541f0a1ecf516a376b6.tar.gz |
poky-external.inc: Fix external toolchains to use the correct sysroot after recent toolchain changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3206 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/poky-external.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc index d3731ae490..f95340b3aa 100644 --- a/meta/conf/distro/include/poky-external.inc +++ b/meta/conf/distro/include/poky-external.inc | |||
@@ -23,5 +23,7 @@ PREFERRED_PROVIDER_virtual/libiconv = "external-poky-toolchain" | |||
23 | PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" | 23 | PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" |
24 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" | 24 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" |
25 | 25 | ||
26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | 26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include --sysroot=${STAGING_DIR_HOST} " |
27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | 27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib --sysroot=${STAGING_DIR_HOST} " |
28 | TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
29 | |||