* Add new configure time option --with-build-time-tools
Signed-off-by: Khem Raj <[email protected]>
---
recipes/gcc/gcc-configure-cross.inc | 5 +++--
recipes/gcc/gcc-cross-intermediate.inc | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes/gcc/gcc-configure-cross.inc
b/recipes/gcc/gcc-configure-cross.inc
index 8b97b09..869ac5e 100644
--- a/recipes/gcc/gcc-configure-cross.inc
+++ b/recipes/gcc/gcc-configure-cross.inc
@@ -3,9 +3,10 @@ require gcc-configure-common.inc
USE_NLS = '$...@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
EXTRA_OECONF_PATHS =
"--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
-
--with-gxx-include-dir=${STAGING_DIR_TARGET}/${target_includedir}/c++ \
+
--with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
--with-sysroot=${STAGING_DIR_TARGET} \
- --with-build-sysroot=${STAGING_DIR_TARGET}"
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-time-tools=${bindir}"
do_configure_prepend () {
export CC="${BUILD_CC}"
diff --git a/recipes/gcc/gcc-cross-intermediate.inc
b/recipes/gcc/gcc-cross-intermediate.inc
index cbc8638..6dbdb94 100644
--- a/recipes/gcc/gcc-cross-intermediate.inc
+++ b/recipes/gcc/gcc-cross-intermediate.inc
@@ -11,8 +11,7 @@ EXTRA_OECONF =
"--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
--disable-threads \
--enable-languages=c \
--program-prefix=${TARGET_PREFIX} \
- --with-sysroot=${STAGING_DIR_TARGET} \
- --with-build-sysroot=${STAGING_DIR_TARGET} \
+ ${EXTRA_OECONF_PATHS} \
${OPTSPACE} \
${EXTRA_OECONF_INTERMEDIATE} \
$...@get_gcc_fpu_setting(bb, d)} \
--
1.7.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel