Openembedded Core Discussions
 help / color / mirror / Atom feed
* gcc-configure-common: Use build time sysroot for target gcc
@ 2012-06-13  8:26 Bogdan Marinescu
  2012-06-14 17:14 ` Saul Wold
  0 siblings, 1 reply; 5+ messages in thread
From: Bogdan Marinescu @ 2012-06-13  8:26 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee7504..5bca2b7 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++/"
--
cgit v0.9.0.2-39-g756e



^ permalink raw reply related	[flat|nested] 5+ messages in thread
* gcc-configure-common: Use build time sysroot for target gcc
@ 2012-06-13  8:20 Bogdan Marinescu
  2012-06-13  8:23 ` Marinescu, Bogdan A
  0 siblings, 1 reply; 5+ messages in thread
From: Bogdan Marinescu @ 2012-06-13  8:20 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

From: Khem Raj <raj.khem@gmail.com>

Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee7504..5bca2b7 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++/"
--
cgit v0.9.0.2-39-g756e



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-14 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-13  8:26 gcc-configure-common: Use build time sysroot for target gcc Bogdan Marinescu
2012-06-14 17:14 ` Saul Wold
2012-06-14 18:51   ` Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2012-06-13  8:20 Bogdan Marinescu
2012-06-13  8:23 ` Marinescu, Bogdan A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox