summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-12 15:11:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-13 11:49:18 +0100
commitd132bcc41d9956f8cc171e34232d991e2b444689 (patch)
tree1ffff992cc57a6c58c1cc723a736d1ca41c0961f /meta
parent5c257ee55f9e0dd66fc1bbd6e9c08918e8820178 (diff)
downloadopenembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.tar.gz
openembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.tar.bz2
openembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.zip
gcc-configure-common: Use build time sysroot for target gcc
Otherwise it assumes / as sysroot on build host and starts searching for directories in there. [RP: Tweak to add missing = for consistent syntax] Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-target.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee75048ba..b1ac4ff777 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -1,4 +1,6 @@
require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
+ --with-sysroot=\
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
--with-gxx-include-dir=${includedir}/c++/"