aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-24 02:07:40 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-29 23:43:22 -0700
commit3761ff611ef73c6ba06417db16a9459f7f71a020 (patch)
tree621552611c1e18ec20fb3cc65a1a7366e882fa59 /recipes/gcc/gcc-configure-cross.inc
parent4e9905b2be6438156dc8ad88839de04e91c922ec (diff)
downloadopenembedded-3761ff611ef73c6ba06417db16a9459f7f71a020.tar.gz
openembedded-3761ff611ef73c6ba06417db16a9459f7f71a020.tar.bz2
openembedded-3761ff611ef73c6ba06417db16a9459f7f71a020.zip
gcc-cross: Use EXTRA_OECONF_PATHS in initial and intermediate recipes.
* Add new configure time option --with-build-time-tools Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-configure-cross.inc')
-rw-r--r--recipes/gcc/gcc-configure-cross.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc
index 8b97b097ef..869ac5e9a1 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}"