@ -33,34 +33,33 @@ PATCH_DIR:=./patches/$(PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / t o o l c h a i n - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / t o o l c h a i n - b u i l d . m k
BINUTILS_CONFIGURE := \
HOST_CONFIGURE_ARGS = \
./configure \
--prefix= $( TOOLCHAIN_DIR) \
--prefix= $( TOOLCHAIN_DIR) \
--build= $( GNU_HOST_NAME) \
--build= $( GNU_HOST_NAME) \
--host= $( GNU_HOST_NAME) \
--host= $( GNU_HOST_NAME) \
--target= $( REAL_GNU_TARGET_NAME) \
--target= $( REAL_GNU_TARGET_NAME) \
--with-sysroot= $( TOOLCHAIN_DIR) \
--with-sysroot= $( TOOLCHAIN_DIR) \
--enable-deterministic-archives \
--enable-deterministic-archives \
--enable-plugins \
--enable-plugins \
--disable-multilib \
--disable-multilib \
--disable-werror \
--disable-werror \
--disable-nls \
--disable-nls \
--disable-sim \
--disable-sim \
--disable-gdb \
--disable-gdb \
$( GRAPHITE_CONFIGURE) \
$( GRAPHITE_CONFIGURE) \
$( SOFT_FLOAT_CONFIG_OPTION) \
$( SOFT_FLOAT_CONFIG_OPTION) \
$( call qstrip,$( CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS) )
$( call qstrip,$( CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS) )
i f n e q ( $( CONFIG_SSP_SUPPORT ) , )
i f n e q ( $( CONFIG_SSP_SUPPORT ) , )
BINUTILS_CONFIGURE += \
HOST_CONFIGURE_ARGS += \
--enable-libssp
--enable-libssp
e l s e
e l s e
BINUTILS_CONFIGURE += \
HOST_CONFIGURE_ARGS += \
--disable-libssp
--disable-libssp
e n d i f
e n d i f
i f n e q ( $( CONFIG_EXTRA_TARGET_ARCH ) , )
i f n e q ( $( CONFIG_EXTRA_TARGET_ARCH ) , )
BINUTILS_CONFIGURE += \
HOST_CONFIGURE_ARGS += \
--enable-targets= $( call qstrip,$( CONFIG_EXTRA_TARGET_ARCH_NAME) ) -linux-$( TARGET_SUFFIX)
--enable-targets= $( call qstrip,$( CONFIG_EXTRA_TARGET_ARCH_NAME) ) -linux-$( TARGET_SUFFIX)
e n d i f
e n d i f
@ -71,12 +70,6 @@ define Host/Prepare
$( SED) 's, " Linaro.*,,' $( HOST_BUILD_DIR) /bfd/version.h
$( SED) 's, " Linaro.*,,' $( HOST_BUILD_DIR) /bfd/version.h
e n d e f
e n d e f
d e f i n e H o s t / C o n f i g u r e
( cd $( HOST_BUILD_DIR) ; \
$( BINUTILS_CONFIGURE) \
) ;
e n d e f
d e f i n e H o s t / C o m p i l e
d e f i n e H o s t / C o m p i l e
+$( MAKE) $( HOST_JOBS) -C $( HOST_BUILD_DIR) all
+$( MAKE) $( HOST_JOBS) -C $( HOST_BUILD_DIR) all
e n d e f
e n d e f