- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 27 Jun 2007 12:01:27 +0000 (12:01 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 27 Jun 2007 12:01:27 +0000 (12:01 -0000)
- use TARGET_CONFIGURE_ARGS where appropriate.

137 files changed:
package/Makefile.in
package/argus/argus.mk
package/at/at.mk
package/atk/atk.mk
package/aumix/aumix.mk
package/autoconf/autoconf.mk
package/automake/automake.mk
package/avahi/avahi.mk
package/bash/bash.mk
package/berkeleydb/berkeleydb.mk
package/bind/bind.mk
package/bison/bison.mk
package/boa/boa.mk
package/bridge/bridge.mk
package/cairo/cairo.mk
package/coreutils/coreutils.mk
package/curl/curl.mk
package/cvs/cvs.mk
package/dash/dash.mk
package/dbus-glib/dbus-glib.mk
package/dbus/dbus.mk
package/dhcp/dhcp.mk
package/dialog/dialog.mk
package/diffutils/diffutils.mk
package/dillo/dillo.mk
package/directfb/directfb.mk
package/distcc/distcc.mk
package/dm/dm.mk
package/dmalloc/dmalloc.mk
package/dmraid/dmraid.mk
package/dropbear/dropbear.mk
package/e2fsprogs/e2fsprogs.mk
package/ed/ed.mk
package/ethtool/ethtool.mk
package/expat/expat.mk
package/fakeroot/fakeroot.mk
package/file/file.mk
package/findutils/findutils.mk
package/flex/flex.mk
package/fontconfig/fontconfig.mk
package/freetype/freetype.mk
package/gawk/gawk.mk
package/gettext/gettext.mk
package/gmp/gmp.mk
package/grep/grep.mk
package/gtk2-engines/gtk2-engines.mk
package/gzip/gzip.mk
package/hal/hal.mk
package/haserl/haserl.mk
package/iperf/iperf.mk
package/ipsec-tools/ipsec-tools.mk
package/jpeg/jpeg.mk
package/kexec/kexec.mk
package/less/less.mk
package/libcgi/libcgi.mk
package/libcgicc/libcgicc.mk
package/libdaemon/libdaemon.mk
package/libelf/libelf.mk
package/libevent/libevent.mk
package/libglib12/libglib12.mk
package/libglib2/libglib2.mk
package/libgtk12/libgtk12.mk
package/libgtk2/libgtk2.mk
package/libid3tag/libid3tag.mk
package/liblockfile/liblockfile.mk
package/libmad/libmad.mk
package/libpng/libpng.mk
package/libraw1394/libraw1394.mk
package/libsndfile/libsndfile.mk
package/libsysfs/libsysfs.mk
package/libtool/libtool.mk
package/libusb/libusb.mk
package/lighttpd/lighttpd.mk
package/links/links.mk
package/lrzsz/lrzsz.mk
package/ltrace/ltrace.mk
package/ltt/ltt.mk
package/lvm2/lvm2.mk
package/lzma/lzma.mk
package/lzo/lzo.mk
package/m4/m4.mk
package/madplay/madplay.mk
package/make/make.mk
package/metacity/metacity.mk
package/module-init-tools/module-init-tools.mk
package/modutils/modutils.mk
package/mpfr/mpfr.mk
package/nano/nano.mk
package/nbd/nbd.mk
package/ncftp/ncftp.mk
package/ncurses/ncurses.mk
package/netcat/netcat.mk
package/netsnmp/netsnmp.mk
package/newt/newt.mk
package/nfs-utils/nfs-utils.mk
package/ntp/ntp.mk
package/openntpd/openntpd.mk
package/openssh/openssh.mk
package/openvpn/openvpn.mk
package/pango/pango.mk
package/patch/patch.mk
package/pppd/pppd.mk
package/proftpd/proftpd.mk
package/psmisc/psmisc.mk
package/python/python.mk
package/qte/qte.mk
package/raidtools/raidtools.mk
package/rdesktop/rdesktop.mk
package/readline/readline.mk
package/rsync/rsync.mk
package/ruby/ruby.mk
package/rxvt/rxvt.mk
package/samba/samba.mk
package/sdl/sdl.mk
package/sed/sed.mk
package/setserial/setserial.mk
package/smartmontools/smartmontools.mk
package/socat/socat.mk
package/sqlite/sqlite.mk
package/strace/strace.mk
package/stunnel/stunnel.mk
package/sudo/sudo.mk
package/tar/tar.mk
package/tcl/tcl.mk
package/tcpdump/dhcpdump.mk
package/tcpdump/tcpdump.mk
package/tftpd/tftpd.mk
package/thttpd/thttpd.mk
package/tiff/tiff.mk
package/tn5250/tn5250.mk
package/usbutils/usbutils.mk
package/util-linux/util-linux.mk
package/valgrind/valgrind.mk
package/vtun/vtun.mk
package/wget/wget.mk
package/which/which.mk
package/xfsprogs/xfsprogs.mk

index 0b57a9c086b6a2cc61efbeff77472ec8306393ca..6efcbd87d46aae81b458ad965e32a43588a1523d 100644 (file)
@@ -207,9 +207,17 @@ ifeq ($(BR2_powerpc)$(BR2_ENDIAN),yBIG)
 BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
 endif
 
+ifeq ($(BR2_ENDIAN),"BIG")
+BR2_AC_CV_C_BIGENDIAN=ac_cv_c_bigendian=yes
+else
+BR2_AC_CV_C_BIGENDIAN=ac_cv_c_bigendian=no
+endif
+
 TARGET_CONFIGURE_ARGS= \
        $(BR2_AC_CV_TRAP_CHECK) \
-
+       ac_cv_func_mmap_fixed_mapped=yes \
+       ac_cv_func_memcmp_working=yes \
+       $(BR2_AC_CV_C_BIGENDIAN)
 
 #######################################################################
 
index 71eb55af6ca71d7554a46cc4cb923d953598d34d..fffce7119cff52130c8c40199b4033625d9d9921 100644 (file)
@@ -34,8 +34,6 @@ endif
 $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked
        (cd $(ARGUS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 43277fd6a0d743d972703f6ca2eea4718cfbca50..054325e968f96e28212f556fa7b6f6410012dabb 100644 (file)
@@ -24,8 +24,7 @@ $(AT_DIR)/.unpacked: $(DL_DIR)/$(AT_SOURCE)
 $(AT_DIR)/.configured: $(AT_DIR)/.unpacked
        (cd $(AT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 3b941518bc784afc38f1df15e8fab00a3367b258..76875f46e7aba6f59e383093e0b2e1c9cd119ac1 100644 (file)
@@ -10,12 +10,6 @@ ATK_CAT:=$(BZCAT)
 ATK_DIR:=$(BUILD_DIR)/atk-$(ATK_VERSION)
 ATK_BINARY:=libatk-1.0.a
 
-ifeq ($(BR2_ENDIAN),"BIG")
-ATK_BE:=yes
-else
-ATK_BE:=no
-endif
-
 $(DL_DIR)/$(ATK_SOURCE):
         $(WGET) -P $(DL_DIR) $(ATK_SITE)/$(ATK_SOURCE)
 
@@ -30,9 +24,7 @@ $(ATK_DIR)/.unpacked: $(DL_DIR)/$(ATK_SOURCE)
 $(ATK_DIR)/.configured: $(ATK_DIR)/.unpacked
        (cd $(ATK_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_c_bigendian=$(ATK_BE) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index 4404867645c732d761536be16859e07e82282eac..5b5ae1a7f81ebafe414644a2747d24c774aa7bfc 100644 (file)
@@ -20,8 +20,7 @@ $(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE)
 $(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked
        (cd $(AUMIX_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 66ae6f1666b29a239c0638de15c90d81e3498020..b05a7d1365247c034d8de908d2f77eabf0ba4608 100644 (file)
@@ -22,9 +22,9 @@ $(AUTOCONF_DIR)/.unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
 
 $(AUTOCONF_DIR)/.configured: $(AUTOCONF_DIR)/.unpacked
        (cd $(AUTOCONF_DIR); rm -rf config.cache; \
-               $(TARGET_CONFIGURE_OPTS) EMACS="no" \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               EMACS="no" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index b51918bd643a535a8b8e2eed81d8eefa9b920a06..1e1c898167db916970bb2a63deb19790b75bd9fa 100644 (file)
@@ -24,8 +24,7 @@ $(AUTOMAKE_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
 $(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked
        (cd $(AUTOMAKE_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                WANT_AUTOCONF=2.5 \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 9f8ed948ea63af7d29668f02fdab186dbea762e1..f70e409bd161286f72adbb809a97d0452aa0f5f8 100644 (file)
@@ -45,11 +45,9 @@ $(AVAHI_DIR)/.unpacked: $(DL_DIR)/$(AVAHI_SOURCE)
 
 $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXPAT_DEP)
        (cd $(AVAHI_DIR) && rm -rf config.cache && autoconf)
-       ( \
-               cd $(AVAHI_DIR) && \
+       (cd $(AVAHI_DIR) && \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                LIBDAEMON_CFLAGS="-I$(STAGING_DIR)/include" \
                LIBDAEMON_LIBS="-L$(STAGING_DIR)/lib -ldaemon" \
                ac_cv_func_strtod=yes \
index 9201753bed32167f982aacdbe1535e6b99d40040..376f05c01662d50bde1b78ee773f3090e50d4e58 100644 (file)
@@ -32,8 +32,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked
        #               bash_cv_have_mbstate_t=yes
        (cd $(BASH_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                CCFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
                ac_cv_func_setvbuf_reversed=no \
                ./configure \
index 0917cb9202a2d4417c36f14e46a3fd875cd893d9..0dd91fe34a2f373ad43276613555ec257402dd91 100644 (file)
@@ -22,8 +22,7 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
 $(DB_DIR)/.configured: $(DB_DIR)/.dist
        (cd $(DB_DIR)/build_unix; rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ../dist/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 9fdd809f6e567d5891ac7a82c836027eb5808102..2c21be3060d4318eb69bc11378c4f138f1654c70 100644 (file)
@@ -30,8 +30,7 @@ $(BIND_DIR2)/.unpacked: $(DL_DIR)/$(BIND_SOURCE)
 $(BIND_DIR2)/Makefile: $(BIND_DIR2)/.unpacked
        (cd $(BIND_DIR2); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 38777febaf9c82355710eef3a0145140702d3be7..2a764e0eb064f3ff4c2a4a172ffc5b9fbfd8cf91 100644 (file)
@@ -24,8 +24,7 @@ $(BISON_DIR)/.unpacked: $(DL_DIR)/$(BISON_SOURCE)
 $(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked
        (cd $(BISON_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                gt_cv_func_gnugettext2_libintl=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 08d73fe15e2dabdec6095f81ad41f935cb44fdcb..c8bf8c42653fb30e4e47efd13b9a3ecb0f280300 100644 (file)
@@ -28,9 +28,7 @@ $(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked
        #CONFIG_SITE=package/boa/boa-config.site-$(ARCH)
        (cd $(BOA_WORKDIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               CPPFLAGS="$(SED_CFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                $(BOA_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 38fce875dc0338c3953864af633e131dc228b1d1..5ca3b83005c86b3535322830b961dc2259330c95 100644 (file)
@@ -21,8 +21,7 @@ $(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE)
 $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked
        (cd $(BRIDGE_BUILD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ec5f6cac9bf17759c7616f28795aeb327ae11b2d..a4ddb28a9ebc2bca597deba372a15926938d0968 100644 (file)
@@ -10,12 +10,6 @@ CAIRO_CAT:=$(ZCAT)
 CAIRO_DIR:=$(BUILD_DIR)/cairo-$(CAIRO_VERSION)
 CAIRO_BINARY:=libcairo.a
 
-ifeq ($(BR2_ENDIAN),"BIG")
-CAIRO_BE:=yes
-else
-CAIRO_BE:=no
-endif
-
 $(DL_DIR)/$(CAIRO_SOURCE):
         $(WGET) -P $(DL_DIR) $(CAIRO_SITE)/$(CAIRO_SOURCE)
 
@@ -30,9 +24,7 @@ $(CAIRO_DIR)/.unpacked: $(DL_DIR)/$(CAIRO_SOURCE)
 $(CAIRO_DIR)/.configured: $(CAIRO_DIR)/.unpacked
        (cd $(CAIRO_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_c_bigendian=$(CAIRO_BE) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index ef6afe198095e376a8ffc4c667a7253c859a3cfd..1bf29acb52d0e4c8816469f26e661763d8f99852 100644 (file)
@@ -27,8 +27,7 @@ $(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE)
 $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
        (cd $(COREUTILS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_strtod=yes \
                ac_fsusage_space=yes \
                fu_cv_sys_stat_statfs2_bsize=yes \
index 05cc2fb50fd309d7cccf1709093f9d5f8bb0a84a..7b292d37986c10d17f00dfabaa650db135f52270 100644 (file)
@@ -26,6 +26,7 @@ $(CURL_DIR)/.configured: $(CURL_DIR)/.unpacked
                libtoolize --force; \
                ./reconf; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 73dd62c2876558d55a064bc4515e6564deb349ac..f7ada9105e6a861f97b0dec54a54ea0b28f7787b 100644 (file)
@@ -54,8 +54,7 @@ endif
 $(CVS_DIR)/.configured: $(CVS_DIR)/.unpacked
        (cd $(CVS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                cvs_cv_func_printf_ptr=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 827db855ef8abd2a292a84bdbe53c0247607823c..5ce80493a374ae404a826e466c5681d2551aab82 100644 (file)
@@ -28,8 +28,7 @@ $(DASH_DIR)/.unpacked: $(DL_DIR)/$(DASH_SOURCE) $(DL_DIR)/$(DASH_PATCH1)
 $(DASH_DIR)/.configured: $(DASH_DIR)/.unpacked
        (cd $(DASH_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 30f91f16e2aa9b290c255f178f38cf66492d628f..042bd87f282ed32202e88818a6077ee2d01da1ff 100644 (file)
@@ -24,6 +24,7 @@ $(DBUS_GLIB_DIR)/.unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
 $(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked /usr/bin/pkg-config
        (cd $(DBUS_GLIB_DIR); rm -rf config.cache; autoconf ; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_have_abstract_sockets=yes \
                ac_cv_func_posix_getpwnam_r=yes \
                have_abstract_sockets=yes \
index 289811dda500d9b17837dcb9b3844663b761e7e1..63b4d9dcaca11bd0dcdf8bd84621c6c06ffba524 100644 (file)
@@ -23,9 +23,8 @@ $(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
 $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
        (cd $(DBUS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_have_abstract_sockets=yes \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ec219e737f33cfd3812ec9faf477919ceb6187b7..4899a70c9fc829c6b7f2fb374841b9191f10a471 100644 (file)
@@ -33,7 +33,10 @@ $(DHCP_DIR)/.unpacked: $(DL_DIR)/$(DHCP_SOURCE)
        touch $(DHCP_DIR)/.unpacked
 
 $(DHCP_DIR)/.configured: $(DHCP_DIR)/.unpacked
-       (cd $(DHCP_DIR); $(TARGET_CONFIGURE_OPTS) ./configure );
+       (cd $(DHCP_DIR); \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ./configure );
        touch $(DHCP_DIR)/.configured
 
 $(DHCP_DIR)/$(DHCP_RELAY_BINARY): $(DHCP_DIR)/.configured
index 219b5dbdb4c3917ef1056d399971d2699e0ad3f1..677b37b8e755fd2f4d3a6ab7d580045137b4e774 100644 (file)
@@ -28,8 +28,7 @@ $(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(DL_DIR)/$(DIALOG_PATCH1)
 $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source
        (cd $(DIALOG_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index d9e7203138f1245b71dd6445cbbbe08c3ac7c1ef..f58ea955baa68ce729bbc1ad14c1e1212fee8120 100644 (file)
@@ -24,8 +24,7 @@ $(DIFFUTILS_DIR)/.unpacked: $(DL_DIR)/$(DIFFUTILS_SOURCE)
 $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked
        (cd $(DIFFUTILS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_strtod=yes \
                ac_fsusage_space=yes \
                fu_cv_sys_stat_statfs2_bsize=yes \
index 9c28356902cbb09ed8af676bbfc558798f1a187d..8b43f5ea1c0faef3ad45639d871d47baa8e7ac11 100644 (file)
@@ -20,8 +20,7 @@ $(DILLO_DIR)/.unpacked: $(DL_DIR)/$(DILLO_SOURCE)
 $(DILLO_DIR)/.configured: $(DILLO_DIR)/.unpacked
        (cd $(DILLO_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index d1443d7bf63efc6437a134b5bab8193c819ebaf4..bbef8355984b9bc61ac2609ca7b7c582e0290be2 100644 (file)
@@ -21,7 +21,8 @@ $(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
 
 $(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
        (cd $(DIRECTFB_DIR); \
-       $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
        CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
        LDFLAGS="$(TARGET_LDFLAGS)" \
        ac_cv_header_linux_wm97xx_h=no \
index 1da0026553c4fb0134c62c7c2561100c456107a7..941b581d7607671e2eb71a653bc60013f46a714b 100644 (file)
@@ -23,8 +23,7 @@ $(DISTCC_DIR)/.unpacked: $(DL_DIR)/$(DISTCC_SOURCE)
 $(DISTCC_DIR)/.configured: $(DISTCC_DIR)/.unpacked
        (cd $(DISTCC_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 9936f8b1be8cce6734ebe77bac93b4b0e5ece07f..80b8a4442b397895904d7f6b4682306929d194ea 100644 (file)
@@ -50,8 +50,7 @@ $(DM_DIR)/.unpacked: $(DL_DIR)/$(DM_SOURCE)
 $(DM_DIR)/.configured: $(DM_DIR)/.unpacked
        (cd $(DM_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_have_decl_malloc=yes \
                gl_cv_func_malloc_0_nonnull=yes \
                ac_cv_func_malloc_0_nonnull=yes \
index ba0c063ff6ebcafbc08eea9506d48767096ea519..f044f85c3a6e5182091ed97961fe6291320e1357 100644 (file)
@@ -42,6 +42,7 @@ endif
 $(DMALLOC_DIR)/.configured: $(DMALLOC_DIR)/.unpacked
        (cd $(DMALLOC_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="-g $(TARGET_CFLAGS)" \
                LDFLAGS="-g $(TARGET_LDFLAGS)" \
                ./configure \
index 2c4731a9ef6755ee6bdf5cb7aeb62059af242965..be89acc4836357f02f77e455a7ed37929f57cb86 100644 (file)
@@ -26,8 +26,7 @@ $(DMRAID_DIR)/.unpacked: $(DL_DIR)/$(DMRAID_SOURCE)
 $(DMRAID_DIR)/.configured: $(DMRAID_DIR)/.unpacked
        (cd $(DMRAID_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ec73fc683b24ee19711ae7c8fa979229abc9a2f9..3e5b99164749ad09e25fe169f0b0b115efeb6eb3 100644 (file)
@@ -27,8 +27,7 @@ $(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.unpacked
        (cd $(DROPBEAR_DIR); rm -rf config.cache; \
                autoconf; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index e8af6200ffc9cea1429d74b6a45fdd10c858716a..d6ead0ff684c681259a51a8e7cbc5f1f2e34c06f 100644 (file)
@@ -29,8 +29,7 @@ $(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
 $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
        (cd $(E2FSPROGS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index b3d2d5de18a9a4e68cb7f116bdf65f96c3505dad..da257c1b514b244542d51ba838b4fb1ca86fabf2 100644 (file)
@@ -31,8 +31,7 @@ $(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
 $(ED_DIR)/.configured: $(ED_DIR)/.unpacked
        (cd $(ED_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 5214e0e9743be810cd743bde5de4bb819d99ce6c..95ea244f2a8339b0bc7c74f01bb07e7730f9a5c3 100644 (file)
@@ -20,8 +20,7 @@ $(ETHTOOL_DIR)/.unpacked: $(DL_DIR)/$(ETHTOOL_SOURCE)
 $(ETHTOOL_DIR)/.configured: $(ETHTOOL_DIR)/.unpacked
        (cd $(ETHTOOL_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 8ee57de1e43a81263ed6a1a24fd2287b03dadd19..060a093894cae7e87b2f91cb6278fd2be128063b 100644 (file)
@@ -26,6 +26,7 @@ $(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
 $(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked
        (cd $(EXPAT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ac7f6f32dd66bba2d7b830f112cc407a4a9af8d3..f88310bfb573f872993551488dde50cd5ad8b7a5 100644 (file)
@@ -72,8 +72,7 @@ $(FAKEROOT_DIR2)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked
        mkdir -p $(FAKEROOT_DIR2)
        (cd $(FAKEROOT_DIR2); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                $(FAKEROOT_SOURCE_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index bdff73dcce2d2ca2e6457a5dd2ac2590723858af..c23c038e2b9d07f736c4fde203f02f433f31a900 100644 (file)
@@ -61,8 +61,7 @@ $(FILE_DIR2)/.configured: $(FILE_SOURCE_DIR)/.unpacked
        mkdir -p $(FILE_DIR2)
        (cd $(FILE_DIR2); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                $(FILE_SOURCE_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 14d3234a33392893784c4904e9b521596a144658..fb34a56862d72d50072408b305e06bcbbac76339 100644 (file)
@@ -25,8 +25,7 @@ $(FINDUTILS_DIR)/.unpacked: $(DL_DIR)/$(FINDUTILS_SOURCE)
 $(FINDUTILS_DIR)/.configured: $(FINDUTILS_DIR)/.unpacked
        (cd $(FINDUTILS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_setvbuf_reversed=no \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 5c3fc733217f1715c0db6dc1af6d4d88222e8b00..882ee5847ddb8d89d2cae88999f9fee60bc581cd 100644 (file)
@@ -35,8 +35,7 @@ endif
 $(FLEX_DIR)/.configured: $(FLEX_DIR)/.unpacked
        (cd $(FLEX_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index fc964d23be18bf3bca9fdfa3d4a5dbe9c2756522..0a83fbe18a8ba8d84832c127a0c203abf7ecc88c 100644 (file)
@@ -31,9 +31,8 @@ $(FONTCONFIG_DIR)/.unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE)
 
 $(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
        (cd $(FONTCONFIG_DIR); \
-       $(TARGET_CONFIGURE_OPTS) \
-       CFLAGS="$(TARGET_CFLAGS) " \
-       LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
        BUILD_CFLAGS="-O2 -I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \
        ac_cv_func_mmap_fixed_mapped=yes \
        ./configure \
index bd47773571d97369f75d7dde8343cf6766a6a8ca..f98e4e34b6863c369c4465b1592c6a98b8fd7540 100644 (file)
@@ -23,10 +23,9 @@ $(FREETYPE_DIR)/.unpacked: $(DL_DIR)/$(FREETYPE_SOURCE)
 # freetype for the target
 $(FREETYPE_DIR)/.configured: $(FREETYPE_DIR)/.unpacked
        (cd $(FREETYPE_DIR); \
-       $(TARGET_CONFIGURE_OPTS) \
-       CFLAGS="$(TARGET_CFLAGS) " \
-       LDFLAGS="$(TARGET_LDFLAGS)" \
-       ./configure \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
index 1969af14d2af45bcdc8b36a4faa39d4a593474b0..7a83c0c77b2bbc54f57d4847dada317b2d9f1608 100644 (file)
@@ -25,8 +25,7 @@ $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE)
 $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked
        (cd $(GAWK_DIR); rm -rf config.cache; autoconf; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_getpgrp_void=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index c631cd7d7efeff1ef7701392368927bdb97f9d8c..cebff42e101e5fc2ca39e85e4b9671a9d5d7f8f0 100644 (file)
@@ -28,8 +28,7 @@ endif
 $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
        (cd $(GETTEXT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_strtod=yes \
                ac_fsusage_space=yes \
                fu_cv_sys_stat_statfs2_bsize=yes \
index d928abc266ee532d92c619bfbacbe3defe942391..c1f15552247adb48b35dc1121d3d71fba0c734ce 100644 (file)
@@ -13,12 +13,6 @@ GMP_BINARY:=libgmp$(LIBTGTEXT)
 GMP_HOST_BINARY:=libgmp$(HOST_SHREXT)
 GMP_LIBVERSION:=3.4.1
 
-ifeq ($(BR2_ENDIAN),"BIG")
-GMP_BE:=yes
-else
-GMP_BE:=no
-endif
-
 # this is a workaround for a bug in GMP, please see 
 # http://gmplib.org/list-archives/gmp-devel/2006-April/000618.html
 ifeq ($(HOST_EXEEXT),.exe)
@@ -40,8 +34,8 @@ $(GMP_TARGET_DIR)/.configured: $(GMP_DIR)/.unpacked
        mkdir -p $(GMP_TARGET_DIR)
        (cd $(GMP_TARGET_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                $(GMP_CPP_FLAGS) \
-               ac_cv_c_bigendian=$(GMP_BE) \
                $(GMP_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 18df66b7423c1c3ddb38678cc8721a1dca12b806..5a1b7d651fbf4e554105a5548abca993d1f741eb 100644 (file)
@@ -26,8 +26,7 @@ $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE)
 $(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked
        (cd $(GNUGREP_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index c8ffa5dc625056db9fb50660c87e5af4cbd3513c..61d759ea3670f2e52214b48eaacae0a9331ea1c9 100644 (file)
@@ -10,10 +10,9 @@ GTK2_ENGINES_CAT:=$(BZCAT)
 GTK2_ENGINES_DIR:=$(BUILD_DIR)/gtk-engines-$(GTK2_ENGINES_VERSION)
 GTK2_ENGINES_BINARY:=libclearlooks.so
 
-GTK2_ENGINES_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_func_mmap_fixed_mapped=yes \
+GTK2_ENGINES_BUILD_ENV= \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index 9483bc775d276fa42b9b5ef0fd2a615546ecefe3..859e1a35704e36500fa0fbd321598170d6bdbb7f 100644 (file)
@@ -24,8 +24,7 @@ $(GZIP_DIR)/.unpacked: $(DL_DIR)/$(GZIP_SOURCE)
 $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
        (cd $(GZIP_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 130d0da465eb7becf197402953158cc51280f238..094fe53da9898f5ac9ad67499ca90a4dae9335f8 100644 (file)
@@ -32,8 +32,8 @@ $(HAL_DIR)/.unpacked: $(DL_DIR)/$(HAL_SOURCE)
 $(HAL_DIR)/.configured: $(HAL_DIR)/.unpacked /usr/bin/pkg-config
        (cd $(HAL_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/lib/glib-2.0/include" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                GLIB_CFLAGS="$(GLIB_CFLAGS)" \
                GLIB_LIBS="$(GLIB_LIBS)" \
                DBUS_CFLAGS="-I$(STAGING_DIR)/usr/include/dbus-1.0 -I$(STAGING_DIR)/usr/lib/dbus-1.0/include" \
index f02a6d486e52014bac14123ab81946d88135c538..59c343cecb0d065c4959b964686f12e159e8a18b 100644 (file)
@@ -20,8 +20,7 @@ $(HASERL_DIR)/.unpacked: $(DL_DIR)/$(HASERL_SOURCE)
 $(HASERL_DIR)/.configured: $(HASERL_DIR)/.unpacked
        (cd $(HASERL_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index f7f143b2f1bd8fef3bc81adf957c62a693f4a00a..099df749dc9c53588385c31522cc20960498252a 100644 (file)
@@ -19,10 +19,9 @@ $(IPERF_DIR)/.unpacked: $(DL_DIR)/$(IPERF_SOURCE)
        touch $(IPERF_DIR)/.unpacked
 
 $(IPERF_DIR)/.configured: $(IPERF_DIR)/.unpacked
-       (       cd $(IPERF_DIR); rm -rf config.cache;  \
+       (cd $(IPERF_DIR); rm -rf config.cache;  \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_malloc_0_nonnull=yes \
                ./configure \
                --with-gnu-ld \
index 52e53f25acd712858a6deec6ddb3976de1341707..125e1695c217dbf5c3ec600020105a031e92f4f9 100644 (file)
@@ -69,7 +69,8 @@ $(IPSEC_TOOLS_DIR)/.patched: $(DL_DIR)/$(IPSEC_TOOLS_SOURCE)
 
 $(IPSEC_TOOLS_DIR)/.configured: $(IPSEC_TOOLS_DIR)/.patched
        ( cd $(IPSEC_TOOLS_DIR); rm -rf config.cache ; \
-         $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
          ./configure \
          --target=$(GNU_TARGET_NAME) \
          --host=$(GNU_TARGET_NAME) \
index c6b8fa08992114a03292b6f262c52e2a77cf1a39..5f59e36b4d1c3b8590f7faafb1be7e787f23e741 100644 (file)
@@ -39,8 +39,7 @@ $(JPEG_DIR)/.unpacked: $(DL_DIR)/$(JPEG_SOURCE)
 $(JPEG_DIR)/.configured: $(JPEG_DIR)/.unpacked
        (cd $(JPEG_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 9ab256cefdce578d847d65ffd2bf61f358b6c55f..0abecaf9e80bf1fce3d68c7e0397915bfb465cb4 100644 (file)
@@ -43,8 +43,7 @@ endif
 $(KEXEC_DIR)/.configured: $(KEXEC_DIR)/.unpacked
        (cd $(KEXEC_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
index 420aefbb5b310a30320eff701d79f5d7fbee9478..a976b2000ac2102cae907b685dea4ad97df2bc5c 100644 (file)
@@ -20,8 +20,7 @@ $(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE)
 $(LESS_DIR)/.configured: $(LESS_DIR)/.source
        (cd $(LESS_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 4d0666ed2be49a510def336d98350b5c1c690168..4be64b8f7237bdaa5efae27995076743bbb04cfb 100644 (file)
@@ -21,8 +21,7 @@ $(LIBCGI_DIR)/.source: $(DL_DIR)/$(LIBCGI_SOURCE)
 $(LIBCGI_DIR)/.configured: $(LIBCGI_DIR)/.source
        (cd $(LIBCGI_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                        --target=$(GNU_TARGET_NAME) \
                        --host=$(GNU_TARGET_NAME) \
index 26e7da26c55c2de4f67f7802e8bdcd6ca67efb5f..72a2c8448d5569d17cb9ef21857e4db60cec95f6 100644 (file)
@@ -22,8 +22,7 @@ $(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE)
 $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
        (cd $(LIBCGICC_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS) " \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ab02c950f649e769916d2cb9c251c2b5ab380c99..7143b5581cb7b93f77e81807e6fb430e349222a7 100644 (file)
@@ -29,11 +29,9 @@ $(LIBDAEMON_DIR)/.unpacked: $(DL_DIR)/$(LIBDAEMON_SOURCE)
 
 $(LIBDAEMON_DIR)/.configured: $(LIBDAEMON_DIR)/.unpacked
        (cd $(LIBDAEMON_DIR) && rm -rf config.cache && autoconf)
-       ( \
-               cd $(LIBDAEMON_DIR) && \
+       ( cd $(LIBDAEMON_DIR) && \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 16d48f588e7191814ff8db6c78afb75a837ee1f4..4876fa999e17261e7a7441943700fe54a899bd34 100644 (file)
@@ -25,8 +25,7 @@ $(LIBELF_DIR)/.unpacked: $(DL_DIR)/$(LIBELF_SOURCE)
 $(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.unpacked
        (cd $(LIBELF_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                libelf_cv_working_memmove=yes \
                mr_cv_target_elf=yes \
                ./configure \
index 93f7eb63151416f943d1cc72b472b5d53ba050a3..953b4da0c32c6f1e59ac84783290f17ad9d22589 100644 (file)
@@ -25,8 +25,7 @@ $(LIBEVENT_DIR)/.unpacked: $(DL_DIR)/$(LIBEVENT_SOURCE)
 $(LIBEVENT_DIR)/.configured: $(LIBEVENT_DIR)/.unpacked
        (cd $(LIBEVENT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 47de020828434e3215766c1faba5b719e491378d..9b738d0700ce0a71ee0513a671bed59076655b6c 100644 (file)
@@ -9,12 +9,6 @@ LIBGLIB12_CAT:=$(ZCAT)
 LIBGLIB12_DIR:=$(BUILD_DIR)/glib-1.2.10
 LIBGLIB12_BINARY:=libglib.a
 
-ifeq ($(BR2_ENDIAN),"BIG")
-LIBGLIB12_BE:=yes
-else
-LIBGLIB12_BE:=no
-endif
-
 $(DL_DIR)/$(LIBGLIB12_SOURCE):
         $(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
 
@@ -29,9 +23,7 @@ $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
 $(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
        (cd $(LIBGLIB12_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_c_bigendian=$(LIBGLIB12_BE) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 741aded5fe44993dafe26a3765a2761297791df5..01e647d25683a6b53a7127d2649b87b70dab6bfb 100644 (file)
@@ -10,12 +10,6 @@ LIBGLIB2_CAT:=$(BZCAT)
 LIBGLIB2_DIR:=$(BUILD_DIR)/glib-$(LIBGLIB2_VERSION)
 LIBGLIB2_BINARY:=libglib-2.0.a
 
-ifeq ($(BR2_ENDIAN),"BIG")
-LIBGLIB2_BE:=yes
-else
-LIBGLIB2_BE:=no
-endif
-
 $(DL_DIR)/$(LIBGLIB2_SOURCE):
         $(WGET) -P $(DL_DIR) $(LIBGLIB2_SITE)/$(LIBGLIB2_SOURCE)
 
@@ -31,9 +25,7 @@ $(LIBGLIB2_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB2_SOURCE)
 $(LIBGLIB2_DIR)/.configured: $(LIBGLIB2_DIR)/.unpacked
        (cd $(LIBGLIB2_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_c_bigendian=$(LIBGLIB2_BE) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index 76d1175ede3f2a145dca7eca3254bbccf05153c8..5fc5e6f8797d2383ef176622f663e9e9111671a5 100644 (file)
@@ -24,10 +24,8 @@ $(LIBGTK12_DIR)/.unpacked: $(DL_DIR)/$(LIBGTK12_SOURCE)
 $(LIBGTK12_DIR)/.configured: $(LIBGTK12_DIR)/.unpacked
        (cd $(LIBGTK12_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                GLIB_CONFIG=$(STAGING_DIR)/bin/glib-config \
-               ac_cv_func_mmap_fixed_mapped=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 4785b516a5cd69aa7e556126dea7a97eaa32f3a4..d2411c65f7982b36508123e5381d9b50475be2d5 100644 (file)
@@ -10,10 +10,9 @@ LIBGTK2_CAT:=$(BZCAT)
 LIBGTK2_DIR:=$(BUILD_DIR)/gtk+-$(LIBGTK2_VERSION)
 LIBGTK2_BINARY:=libgtk-x11-2.0.a
 
-LIBGTK2_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_func_mmap_fixed_mapped=yes \
+LIBGTK2_BUILD_ENV= \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index 3c1b5ac6afb4dabc230b026badb54868cdf7840e..2bdb544ec07dc097c851885387b95007eb80b5a3 100644 (file)
@@ -20,8 +20,7 @@ $(LIBID3TAG_DIR)/.unpacked: $(DL_DIR)/$(LIBID3TAG_SOURCE)
 $(LIBID3TAG_DIR)/.configured: $(LIBID3TAG_DIR)/.unpacked
        (cd $(LIBID3TAG_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index fc5ab4a55591102180dbc187a58666d5a433559a..5bcfe79f20d29a70232f19901bb49dc7634886eb 100644 (file)
@@ -23,8 +23,7 @@ $(LIBLOCKFILE_DIR)/.unpacked: $(DL_DIR)/$(LIBLOCKFILE_SOURCE)
 $(LIBLOCKFILE_DIR)/.configured: $(LIBLOCKFILE_DIR)/.unpacked
        (cd $(LIBLOCKFILE_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 69552737ca99661cbfbbf68dd41287e48230fb44..65cb0773328ed477739b25f0014a0dd7a37f1a97 100644 (file)
@@ -20,8 +20,7 @@ $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE)
 $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
        (cd $(LIBMAD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 58bc1e67ba9c1604b6e67363114a071420edfac2..b70f90550c0d1697c8d8394a33440eea06190537 100644 (file)
@@ -40,9 +40,7 @@ $(LIBPNG_DIR)/.unpacked: $(DL_DIR)/$(LIBPNG_SOURCE)
 $(LIBPNG_DIR)/.configured: $(LIBPNG_DIR)/.unpacked
        (cd $(LIBPNG_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_func_memcmp_working=yes \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_have_decl_malloc=yes \
                gl_cv_func_malloc_0_nonnull=yes \
                ac_cv_func_malloc_0_nonnull=yes \
index e4d78f8ddbc63ce57efaa783c4a5677081f4876a..98ac856477179484e0a8938df9c0170f32b08847 100644 (file)
@@ -19,6 +19,7 @@ $(LIBRAW1394_DIR)/.unpacked: $(DL_DIR)/$(LIBRAW1394_SOURCE)
 $(LIBRAW1394_DIR)/.configured: $(LIBRAW1394_DIR)/.unpacked
        (cd $(LIBRAW1394_DIR); rm -rf config.cache ; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 694705feae7d47de7cb04ef4579de531fdd6fff5..ea48010082a95e8c9196432fe8d47cb5da75966f 100644 (file)
@@ -22,7 +22,7 @@ $(LIBSNDFILE_DIR)/.unpacked: $(DL_DIR)/$(LIBSNDFILE_SOURCE)
 $(LIBSNDFILE_DIR)/.configured: $(LIBSNDFILE_DIR)/.unpacked
        (cd $(LIBSNDFILE_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index adfad031182310eccf9a770525eeb90734261722..1fc266de324694e7b76d6274429b84e2f0aed907 100644 (file)
@@ -39,15 +39,14 @@ $(LIBSYSFS_DIR)/.unpacked: $(DL_DIR)/$(LIBSYSFS_SOURCE)
 
 $(LIBSYSFS_DIR)/.configured: $(LIBSYSFS_DIR)/.unpacked
        (cd $(LIBSYSFS_DIR); rm -rf config.cache ; \
-       $(TARGET_CONFIGURE_OPTS) \
-       CFLAGS="$(TARGET_CFLAGS) " \
-       LDFLAGS="$(TARGET_LDFLAGS)" \
-       ./configure \
-       --target=$(GNU_TARGET_NAME) \
-       --host=$(GNU_TARGET_NAME) \
-       --build=$(GNU_HOST_NAME) \
-       --prefix=/usr \
-       --sysconfdir=/etc \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ./configure \
+               --target=$(GNU_TARGET_NAME) \
+               --host=$(GNU_TARGET_NAME) \
+               --build=$(GNU_HOST_NAME) \
+               --prefix=/usr \
+               --sysconfdir=/etc \
        );
        touch $@
 
index f97f9e47dc31afe9fa424f3c3ce76bbe37f3f00a..399ec880eeec12df4ebafa377e257eed5258bef4 100644 (file)
@@ -23,8 +23,7 @@ $(LIBTOOL_DIR)/.unpacked: $(DL_DIR)/$(LIBTOOL_SOURCE)
 $(LIBTOOL_DIR)/.configured: $(LIBTOOL_DIR)/.unpacked
        (cd $(LIBTOOL_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 18120c0011bc703d77ef1906474b5e29270f7139..42e33bd8a553304c98e5d263a06573d9ecf1f61d 100644 (file)
@@ -10,12 +10,6 @@ LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VER)
 LIBUSB_CAT:=$(ZCAT)
 LIBUSB_BINARY:=usr/lib/libusb.so
 
-ifeq ($(BR2_ENDIAN),"BIG")
-LIBUSB_BE:=yes
-else
-LIBUSB_BE:=no
-endif
-
 $(DL_DIR)/$(LIBUSB_SOURCE):
        $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE)
 
@@ -29,10 +23,8 @@ $(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
 $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked
        (cd $(LIBUSB_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_header_regex_h=no \
-               ac_cv_c_bigendian=$(LIBUSB_BE) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 2b8f6317bd5229a169c1b97b24504c7c2dc3276c..67f500677bcd8f113df8cfd5452e3b22b5b7a9ed 100644 (file)
@@ -29,8 +29,7 @@ $(LIGHTTPD_DIR)/.unpacked: $(DL_DIR)/$(LIGHTTPD_SOURCE)
 $(LIGHTTPD_DIR)/.configured: $(LIGHTTPD_DIR)/.unpacked
        (cd $(LIGHTTPD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 344765ae27cf8419bb72ccb5f95d389d93c9ba80..f6ce05dee6e3476a9b4e2aa269b8e74909db901b 100644 (file)
@@ -19,8 +19,7 @@ $(LINKS_DIR)/.unpacked: $(DL_DIR)/$(LINKS_SOURCE)
 $(LINKS_DIR)/.configured: $(LINKS_DIR)/.unpacked
        (cd $(LINKS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index cf7ea6311301e1a8a29c907ac89bcdaf8c4beaff..ba0456e28abfca72d00d8fbd5c0b8bbf4f5f6918 100644 (file)
@@ -37,8 +37,7 @@ $(LRZSZ_DIR)/.unpacked: $(DL_DIR)/$(LRZSZ_SOURCE)
 $(LRZSZ_DIR)/.configured: $(LRZSZ_DIR)/.unpacked
        (cd $(LRZSZ_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 48d1a69395a1df9886273e2d143df2f434468422..9a8a769773e0d66052072fbd0d66e2a6c0f24320 100644 (file)
@@ -39,10 +39,9 @@ endif
        touch $@
 
 $(LTRACE_DIR)/.configured: $(LTRACE_DIR)/.patched
-       (cd $(LTRACE_DIR); \
+       (cd $(LTRACE_DIR); rm -rf config.cache ; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 3626c232d15bc2dcdb2021878b6c8c6581ca06a2..8cc3925b5bc5522e34578f936f434182ff2cd943 100644 (file)
@@ -69,8 +69,7 @@ $(LTT_DIR2)/.unpacked: $(DL_DIR)/$(LTT_SOURCE)
 $(LTT_DIR2)/.configured: $(LTT_DIR2)/.unpacked
        (cd $(LTT_DIR2); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
index 7d5c834a8785609e2c20e7265358ea4dfdbefccb..38dc4a3fc23d61e80a4e3909b8e9c4760c6089eb 100644 (file)
@@ -45,8 +45,7 @@ $(LVM2_DIR)/.unpacked: $(DL_DIR)/$(LVM2_SOURCE)
 $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked
        (cd $(LVM2_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index c425907e003bf853c2241b8b32d0c08eef603832..e612e0af5268fca9683b2910b492877d4fe78f94 100644 (file)
@@ -61,8 +61,8 @@ $(LZMA_TARGET_DIR)/.source: $(DL_DIR)/$(LZMA_SOURCE)
 $(LZMA_TARGET_DIR)/.configured: $(LZMA_TARGET_DIR)/.source
        (cd $(LZMA_TARGET_DIR); rm -f config.cache ;\
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(LZMA_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                ac_cv_func_malloc_0_nonnull=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 02077e2d83e7bf1166b605abaeeaf69b21eab83d..b0741d0e5a663dcd1aea82c428ce8aadb5f27079 100644 (file)
@@ -30,8 +30,7 @@ LZO_CONFIG_SHARED:=--disable-shared
 $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked
        (cd $(LZO_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index fb06fb1c496daa96b08a8c69c371999ec02fe603..6742f80bbd8d395771ff997813f066757b3520a4 100644 (file)
@@ -29,8 +29,7 @@ $(M4_DIR)/.unpacked: $(DL_DIR)/$(M4_SOURCE)
 $(M4_DIR)/.configured: $(M4_DIR)/.unpacked
        (cd $(M4_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                gl_cv_func_gettimeofday_clobber=no \
                $(gl_cv_func_re_compile_pattern_working) \
                ./configure \
index 5ceae69d42672675b01a7d0c26336278c0bc0999..a7ab973660a376af41acf6e7f0bf06fba5123c6b 100644 (file)
@@ -20,8 +20,7 @@ $(MADPLAY_DIR)/.unpacked: $(DL_DIR)/$(MADPLAY_SOURCE)
 $(MADPLAY_DIR)/.configured: $(MADPLAY_DIR)/.unpacked
        (cd $(MADPLAY_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ffca96a38456e706679adc2c5d737dc629133c2d..7adf1c52e4827287ba6b4170e099d31ca1c61fab 100644 (file)
@@ -24,8 +24,7 @@ $(GNUMAKE_DIR)/.unpacked: $(DL_DIR)/$(GNUMAKE_SOURCE)
 $(GNUMAKE_DIR)/.configured: $(GNUMAKE_DIR)/.unpacked
        (cd $(GNUMAKE_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                make_cv_sys_gnu_glob=no \
                GLOBINC='-I$(GNUMAKE_DIR)/glob' \
                GLOBLIB=glob/libglob.a \
index 4e1eb56c0c0bc038702b2fdc8afe8a75ac26b6df..63f258875cc76c4862e16e76a6cf0b3ce7dd82e3 100644 (file)
@@ -36,12 +36,10 @@ $(METACITY_DIR)/.unpacked: $(DL_DIR)/$(METACITY_SOURCE) $(DL_DIR)/$(METACITY_SOU
 $(METACITY_DIR)/.configured: $(METACITY_DIR)/.unpacked
        (cd $(METACITY_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                PKG_CONFIG=$(STAGING_DIR)/usr/bin/pkg-config \
                GLIB_CONFIG=$(STAGING_DIR)/bin/glib-config \
-               ac_cv_func_mmap_fixed_mapped=yes \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index b51a3209a710346a61a95bfea745b7d32e2b9134..55454a49bd714741166fd636b9f7b0c222a5a711 100644 (file)
@@ -25,8 +25,7 @@ $(MODULE_INIT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE)
 $(MODULE_INIT_TOOLS_DIR)/.configured: $(MODULE_INIT_TOOLS_DIR)/.unpacked
        (cd $(MODULE_INIT_TOOLS_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                INSTALL=$(MODULE_INIT_TOOLS_DIR)/install-sh \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index bdfc5276ca097f5ec2b7eaa87755fa314e461cfa..2a0769e27888beb218e7007528cff7b4d5d5fad0 100644 (file)
@@ -30,8 +30,7 @@ $(MODUTILS_DIR1)/.source: $(DL_DIR)/$(MODUTILS_SOURCE)
 $(MODUTILS_DIR1)/.configured: $(MODUTILS_DIR1)/.source
        (cd $(MODUTILS_DIR1); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                INSTALL=$(MODUTILS_DIR1)/install-sh \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 6d6afa5784557890fdb45ec14b4dd87299cb6b84..0c5f07feec24c29193026d5849d96b99f1ebeb76 100644 (file)
@@ -15,12 +15,6 @@ MPFR_BINARY:=libmpfr$(LIBTGTEXT)
 MPFR_HOST_BINARY:=libmpfr$(HOST_SHREXT)
 MPFR_LIBVERSION:=1.0.1
 
-ifeq ($(BR2_ENDIAN),"BIG")
-MPFR_BE:=yes
-else
-MPFR_BE:=no
-endif
-
 # No patch
 ifeq ($(MPFR_PATCH),)
 $(DL_DIR)/$(MPFR_SOURCE):
@@ -56,7 +50,7 @@ $(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/usr/lib/$(G
        mkdir -p $(MPFR_TARGET_DIR)
        (cd $(MPFR_TARGET_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               ac_cv_c_bigendian=$(MPFR_BE) \
+               $(TARGET_CONFIGURE_ARGS) \
                $(MPFR_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 98eab7c864512fd43ab18188836b3c702db649e6..17fdddd85ffbd3897f6d4aefac409c0ff9f90303 100644 (file)
@@ -23,8 +23,7 @@ $(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE)
 $(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
        (cd $(NANO_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_header_regex_h=no \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 22256c245c0e86eb69d098c127e720b3db26d701..1d2c33b468a7bb8874cc83347b02f9e594c9f85b 100644 (file)
@@ -20,8 +20,7 @@ $(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE)
 $(NBD_DIR)/.configured: $(NBD_DIR)/.unpacked
        (cd $(NBD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                CC=$(TARGET_CC) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 4cd5370a8373c4e16b528549826c6876601d4d08..62c55c95de46ee3a0ca708df3f97255dd538b6da 100644 (file)
@@ -26,7 +26,7 @@ $(NCFTP_DIR)/.source: $(DL_DIR)/$(NCFTP_SOURCE)
 $(NCFTP_DIR)/.configured: $(NCFTP_DIR)/.source
        (cd $(NCFTP_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index cf2f077a20406fa4165d7a7abbcae6699a470c17..d1967f9f3dcdd64950b5ecd0b4f0061c8ad8f098 100644 (file)
@@ -49,8 +49,7 @@ $(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.patched
        (cd $(NCURSES_DIR); rm -rf config.cache; \
                BUILD_CC="$(HOSTCC)" \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(REAL_GNU_TARGET_NAME) \
index 243a58339240473a626ff43ca4159cb6ae113437..9a516633898a8b2cf15996b4853c7a44728fc40d 100644 (file)
@@ -24,8 +24,7 @@ $(NETCAT_DIR)/.unpacked: $(DL_DIR)/$(NETCAT_SOURCE)
 $(NETCAT_DIR)/.configured: $(NETCAT_DIR)/.unpacked
        (cd $(NETCAT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index e30b62f3e375e806081e2ad86fed6b5c92c134a6..a55b203150106e794caeb06df25bcc0818ef433f 100644 (file)
@@ -35,6 +35,7 @@ $(NETSNMP_DIR)/.configured: $(NETSNMP_DIR)/.unpacked
        (cd $(NETSNMP_DIR); autoconf; \
                ac_cv_CAN_USE_SYSCTL=no \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --with-cc=$(TARGET_CROSS)gcc \
                --with-ar=$(TARGET_CROSS)ar \
index 1a154aeb9d3b310542bb947ba392ab0e4ab7686f..1e1b62deb2ac4a1c9c5ae80ed65eb1cc1d47fa8c 100644 (file)
@@ -25,8 +25,8 @@ $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE)
 $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source
        (cd $(NEWT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 6f8cd462979213bb6a911a40b51be2d167f60a17..21805d72eda5d2a6a8c95dbff0d0bb25db2aa027 100644 (file)
@@ -33,8 +33,8 @@ $(NFS_UTILS_DIR)/.unpacked: $(DL_DIR)/$(NFS_UTILS_SOURCE)
 $(NFS_UTILS_DIR)/.configured: $(NFS_UTILS_DIR)/.unpacked
        (cd $(NFS_UTILS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(BR2_NFS_UTILS_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                knfsd_cv_bsd_signals=no \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 46270b9853c499e30fb36f97d27edeed0cb1fec0..8e08919aeb39a3759e8222480a4dd58c23006508 100644 (file)
@@ -29,6 +29,7 @@ $(NTP_DIR)/.patched: $(DL_DIR)/$(NTP_SOURCE)
 $(NTP_DIR)/.configured: $(NTP_DIR)/.patched
        (cd $(NTP_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_lib_md5_MD5Init=no \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 01f6db14fe3e0b65eff146a5a48b6c829a5fec5d..2bcbf949f78f9665c0fa352820888e34cbf789ca 100644 (file)
@@ -22,6 +22,7 @@ $(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE)
 $(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source
        (cd $(OPENNTPD_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index fb3177395902b54b470211d283f875d40be94d9a..209f4eac66b9e3622b5ea1a66dab506727de08dd 100644 (file)
@@ -20,9 +20,7 @@ $(OPENSSH_DIR)/.unpacked: $(DL_DIR)/$(OPENSSH_SOURCE)
 $(OPENSSH_DIR)/.configured: $(OPENSSH_DIR)/.unpacked
        (cd $(OPENSSH_DIR); rm -rf config.cache; autoconf ; \
                $(TARGET_CONFIGURE_OPTS) \
-               LD=$(TARGET_CROSS)gcc \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 630fa5f2cf656f1555374aafd561990ca942ffd8..e50c8d095d74255f30035752cc211cb6c6eade54 100644 (file)
@@ -35,8 +35,7 @@ $(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE)
 $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked
        (cd $(OPENVPN_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 7065ffa369575e6bfbf735f192e3cb438bceac5e..f71add798660f93719f20ba0b90b75d0aeedec1e 100644 (file)
@@ -11,16 +11,9 @@ PANGO_CAT:=$(BZCAT)
 PANGO_DIR:=$(BUILD_DIR)/pango-$(PANGO_VERSION)
 PANGO_BINARY:=libpango-1.0.a
 
-ifeq ($(BR2_ENDIAN),"BIG")
-PANGO_BE:=yes
-else
-PANGO_BE:=no
-endif
-
-PANGO_BUILD_ENV=$(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
-               ac_cv_c_bigendian=$(PANGO_BE) \
+PANGO_BUILD_ENV= \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_posix_getpwuid_r=yes \
                glib_cv_stack_grows=no \
                glib_cv_uscore=no \
index f0b47e4e896bbb53e5bce2c9eef0a9362fe9c007..6871d80b0bedbd27cb540a7fc420f5b5b88fe6af 100644 (file)
@@ -22,7 +22,7 @@ $(GNUPATCH_DIR)/.unpacked: $(DL_DIR)/$(GNUPATCH_SOURCE)
 $(GNUPATCH_DIR)/.configured: $(GNUPATCH_DIR)/.unpacked
        (cd $(GNUPATCH_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index ba1f8cbdd7b05b6837781edce60b6f905fd4f0eb..26cab47b209081349ac83fe94286b087a199c13d 100644 (file)
@@ -31,8 +31,7 @@ $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE)
 $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
        (cd $(PPPD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index fb61a5d62aa2511f5d569712f2d20364ebeda2c7..2f144dc483b00e516630d0e1fd4f85b7c7c63da7 100644 (file)
@@ -23,8 +23,7 @@ $(PROFTPD_DIR)/.unpacked: $(DL_DIR)/$(PROFTPD_SOURCE)
 $(PROFTPD_DIR)/.configured: $(PROFTPD_DIR)/.unpacked
        (cd $(PROFTPD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_setpgrp_void=yes \
                ac_cv_func_setgrent_void=yes \
                ./configure \
index ccb7bf90e637d661b4bc4cb085cc261a7c1e7828..8e6be504b0e891805fc64b25255fb72d8d4ab21d 100644 (file)
@@ -20,8 +20,7 @@ $(PSMISC_DIR)/.unpacked: $(DL_DIR)/$(PSMISC_SOURCE)
 $(PSMISC_DIR)/.configured: $(PSMISC_DIR)/.unpacked
        (cd $(PSMISC_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 17d6a145290c994c1d435c92df537d70332541fe..e831aa0f2d2676e93c0805783c4888ed51fe171a 100644 (file)
@@ -44,6 +44,7 @@ $(PYTHON_DIR)/.hostpython: $(PYTHON_DIR)/.patched
 $(PYTHON_DIR)/.configured: $(PYTHON_DIR)/.hostpython
        (cd $(PYTHON_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                OPT="$(TARGET_CFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 8c8482d6b61f06227395ad2849ae836d55720d2b..38dee5be71e0c2ac74cbdc81f642810c672ded91 100644 (file)
@@ -137,8 +137,7 @@ $(QTE_QTE_DIR)/.configured: $(QTE_QTE_DIR)/.unpacked $(QTE_TMAKE_DIR)/.unpacked
        cp $(QTE_QTOPIA_DIR)/src/qt/qconfig-qpe.h $(QTE_QTE_DIR)/src/tools/
        (cd $(@D); export QTDIR=`pwd`; export TMAKEPATH=$(QTE_TMAKE_DIR)/lib/qws/linux-x86-g++; export PATH=$(STAGING_DIR)/bin:$$QTDIR/bin:$$PATH; export LD_LIBRARY_PATH=$$QTDIR/lib:$$LD_LIBRARY_PATH; echo 'yes' | \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                $(QTE_QTE_CONFIGURE) -qconfig qpe -keypad-mode -qvfb -depths 4,8,16,32 -xplatform $(BR2_QTE_CROSS_PLATFORM) \
        );
index 1ecbbc60bbbfccfbcad0a64ea40ee5f9f7594db3..9dc3ca121d2e2750f54b6d696abf1d08d7974a17 100644 (file)
@@ -21,9 +21,8 @@ $(RAIDTOOLS2_DIR)/.unpacked: $(DL_DIR)/$(RAIDTOOLS2_SOURCE)
 
 $(RAIDTOOLS2_DIR)/.configured: $(RAIDTOOLS2_DIR)/.unpacked
        (cd $(RAIDTOOLS2_DIR); rm -rf config.cache; \
-                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                 ./configure \
                 --target=$(GNU_TARGET_NAME) \
                 --host=$(GNU_TARGET_NAME) \
index 8214d5dffcac3e5536d0d4157264742589dc6979..3bca0542a51efa82cf71d82059c2cdac4ce2feb5 100644 (file)
@@ -21,8 +21,7 @@ $(RDESKTOP_DIR)/.unpacked: $(DL_DIR)/$(RDESKTOP_SOURCE)
 $(RDESKTOP_DIR)/.configured: $(RDESKTOP_DIR)/.unpacked
        (cd $(RDESKTOP_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 8606ab75309d10bf848efe6db4ba8d93931713e8..0043419e59d8024392c0b1948df52c7cc230426b 100644 (file)
@@ -26,8 +26,7 @@ $(READLINE_DIR)/.configured: $(READLINE_DIR)/.unpacked
        (cd $(READLINE_DIR); rm -rf config.cache; \
                bash_cv_func_sigsetjmp=yes \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index c3dee21a528e9fdff244060b9d597586bbe47463..cd98425cd6be25f83f0c19d547de974f0848a34b 100644 (file)
@@ -24,8 +24,7 @@ $(RSYNC_DIR)/.unpacked: $(DL_DIR)/$(RSYNC_SOURCE)
 $(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked
        (cd $(RSYNC_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 7c873c0251b257d4ecec034571f676b2040e2c25..7fef9a5a2acb2bbf235e1adb24f8fa1c7f267c83 100644 (file)
@@ -24,8 +24,7 @@ $(RUBY_DIR)/.unpacked: $(DL_DIR)/$(RUBY_SOURCE)
 $(RUBY_DIR)/.configured: $(RUBY_DIR)/.unpacked
        (cd $(RUBY_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index efe4bdb3b5b79643032d93afb3546bd0b99632ad..e4932a63d5f6f44e05ad3e017d417d66c4abcb98 100644 (file)
@@ -40,8 +40,7 @@ $(RXVT_DIR)/.unpacked: $(DL_DIR)/$(RXVT_SOURCE)
 $(RXVT_DIR)/.configured: $(RXVT_DIR)/.unpacked
        (cd $(RXVT_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                rxvt_cv_ptys=GLIBC \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 353615f877a941f47dab53b1ca1d93038a7a2f6c..9eabfec59f10e514071fb64cd56bdf8988342108 100644 (file)
@@ -25,8 +25,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
        (cd $(SAMBA_DIR); rm -rf config.cache; \
                ./autogen.sh; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
                samba_cv_USE_SETREUID=yes \
                ./configure \
index 235b4694001aaa23dcb93651a9db4f58f67a9ea9..10329d951f1b665d8daf98b42900c4758da1d231 100644 (file)
@@ -21,8 +21,9 @@ $(SDL_DIR)/.unpacked: $(DL_DIR)/$(SDL_SOURCE)
 
 $(SDL_DIR)/.configured: $(SDL_DIR)/.unpacked
        (cd $(SDL_DIR); rm -rf config.cache ; \
-       $(TARGET_CONFIGURE_OPTS) \
-       ./configure \
+               $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
+               ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
index 70bccea0a13aaa235491e80472e8b7f1258ff384..24b7036c92fe91c01d53bafdb22e99170dfb07e8 100644 (file)
@@ -96,8 +96,7 @@ $(SED_DIR2)/.unpacked: $(DL_DIR)/$(SED_SOURCE)
 $(SED_DIR2)/.configured: $(SED_DIR2)/.unpacked
        (cd $(SED_DIR2); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                CPPFLAGS="$(SED_CFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 387af08ebb1c80f5d80fe1ff624c865e131e326e..6809254b087f5760ee3547a8707fd7296ce3bdde 100644 (file)
@@ -43,8 +43,8 @@ endif
 $(SETSERIAL_DIR)/.configured: $(SETSERIAL_DIR)/.unpacked
        (cd $(SETSERIAL_DIR); rm -rf config.cache ; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(SETSERIAL_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 70a39f65edb71992bcd71499e0a4a25000c11aa5..b666ba3b3f4b97b8b32c338544dd043ed8b0457d 100644 (file)
@@ -26,8 +26,7 @@ $(SMARTMONTOOLS_DIR)/.unpacked: $(DL_DIR)/$(SMARTMONTOOLS_SOURCE)
 $(SMARTMONTOOLS_DIR)/.configured: $(SMARTMONTOOLS_DIR)/.unpacked
        (cd $(SMARTMONTOOLS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 092a53dc01efb2e267793eedc75996a2d341abf2..848e8a35ec18e31f1df6ef2fc8a6781989c7c7af 100644 (file)
@@ -29,8 +29,7 @@ $(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked
        mkdir -p $(SOCAT_WORKDIR)
        (cd $(SOCAT_WORKDIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                $(SOCAT_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 7c8fad1de2fab77d3bfc4415bd42f9a35b7ef405..66df044c15d9e8368da6bfbcfbc2423e26a68bf4 100644 (file)
@@ -20,6 +20,7 @@ $(SQLITE_DIR)/.unpacked: $(DL_DIR)/$(SQLITE_SOURCE)
 $(SQLITE_DIR)/.configured: $(SQLITE_DIR)/.unpacked
        (cd $(SQLITE_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                config_BUILD_CC="$(HOSTCC)" \
                config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
                config_TARGET_CC="$(TARGET_CC)" \
index ed99cac61d8f6f64013d69f038bea7b3d4e1fc2c..35a23d2cf8e90206dbf1b026ab45352ba4443085 100644 (file)
@@ -29,8 +29,8 @@ $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
        (cd $(STRACE_DIR); rm -rf config.cache; \
                $(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
                aaa_ac_cv_header_linux_if_packet_h=yes \
                ./configure \
                --target=$(REAL_GNU_TARGET_NAME) \
index bbda01740e5f2d336d1842b5848757061805dc7a..8ce852781f571362c4c658b0ff5c24bba63873d4 100644 (file)
@@ -24,8 +24,7 @@ $(STUNNEL_DIR)/.unpacked: $(DL_DIR)/$(STUNNEL_SOURCE)
 $(STUNNEL_DIR)/.configured: $(STUNNEL_DIR)/.unpacked
        (cd $(STUNNEL_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_file___dev_ptmx_=yes \
                ac_cv_file___dev_ptc_=no \
                ./configure \
index 3f0df7af0cb3a2ac00567413b461092c2418cbfc..a14b6d4bf2dc9bac34aafdd4b89d867281124970 100644 (file)
@@ -23,6 +23,7 @@ $(SUDO_DIR)/.unpacked: $(DL_DIR)/$(SUDO_SOURCE)
 $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
        (cd $(SUDO_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                CFLAGS="$(TARGET_CFLAGS)" \
                LDFLAGS="$(TARGET_LDFLAGS)" \
index 146d86979f0ab8da659cd86bf9a83aa0d1f9be13..b2f94a9851f8ceb37316251691c9a13980eeac35 100644 (file)
@@ -24,8 +24,7 @@ $(GNUTAR_DIR)/.unpacked: $(DL_DIR)/$(GNUTAR_SOURCE)
 $(GNUTAR_DIR)/.configured: $(GNUTAR_DIR)/.unpacked
        (cd $(GNUTAR_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_chown_works=yes \
                gl_cv_func_chown_follows_symlink=yes \
                ./configure \
index 2a29c07ddb9440f5967b5f76a823da2c819f6ace..143a158fda937458f11b1185b2f8c3bef986d80f 100644 (file)
@@ -19,8 +19,7 @@ $(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE)
 $(TCL_DIR)/.configured: $(TCL_DIR)/.source
        (cd $(TCL_DIR)/unix; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index b4f9c4ef92c91165aa5587f8824413946978f553..37e66b01c259ffd75afb397665f73da0408f250c 100644 (file)
@@ -26,8 +26,7 @@ $(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
                cd $(DHCPDUMP_DIR) ; \
                BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 323383dfcae372e4bc8ddb570d94d43769eff973..9c60e7ee82e3a2d7d2d5e20a3472a4cd20242fa6 100644 (file)
@@ -28,8 +28,7 @@ $(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked
                ac_cv_linux_vers=$(BR2_DEFAULT_KERNEL_HEADERS) \
                BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 59d604ff5ecb8076c3c21956c63faa93524e3fba..52d6b94c66538e5774f3261739713ce780255a77 100644 (file)
@@ -24,8 +24,7 @@ $(TFTP_HPA_DIR)/.unpacked: $(DL_DIR)/$(TFTP_HPA_SOURCE)
 $(TFTP_HPA_DIR)/.configured: $(TFTP_HPA_DIR)/.unpacked
        (cd $(TFTP_HPA_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index f49b10de6087e66a34cde4534f13b15eb8a4faf8..52dccb9fcc994988c33fb76c7145b542653c6cce 100644 (file)
@@ -25,8 +25,7 @@ $(THTTPD_DIR)/.unpacked: $(DL_DIR)/$(THTTPD_SOURCE)
 $(THTTPD_DIR)/.configured: $(THTTPD_DIR)/.unpacked
        (cd $(THTTPD_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 9d1d1ab7d9bf85dc70af860fb860b670771f931c..018c645405a942f8aed639ae13dbe9fb292a46ae 100644 (file)
@@ -23,8 +23,7 @@ $(TIFF_DIR)/.unpacked: $(DL_DIR)/$(TIFF_SOURCE)
 $(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked
        (cd $(TIFF_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 5515e756039be936af60b3a1d76e6c19408a76b0..42f272dad8be207e9eff8a4325342bdd4e9d6dc5 100644 (file)
@@ -13,8 +13,7 @@ $(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
 $(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist
        (cd $(TN5250_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 391008e7282afca5039e60176596cc28909e3e0c..ffb2f57f5015b5b44330c68d046f58c8a3bc4bf8 100644 (file)
@@ -24,8 +24,7 @@ $(USBUTILS_DIR)/.unpacked: $(DL_DIR)/$(USBUTILS_SOURCE)
 $(USBUTILS_DIR)/.configured: $(USBUTILS_DIR)/.unpacked
        (cd $(USBUTILS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ac_cv_func_malloc_0_nonnull=yes \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
index 85ef7a60bcf2a66b348aab4d9830190a47f0d6a2..161c173c2629207977a761c9cde463122092e058 100644 (file)
@@ -25,8 +25,7 @@ endif
 $(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
        (cd $(UTIL-LINUX_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --prefix=/usr \
index d4083e2c4e3854ff9d50eb6fff258b8b5fd834a9..e7deb81af77e4842ec0e6994c8ff8d4d9d2c2fd0 100644 (file)
@@ -24,8 +24,7 @@ $(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked
 $(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched
        (cd $(VALGRIND_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index 6a8a4ffa9b4a0d4ce40dd748ed94718176c862f8..3c5092cf6f9ac6b0b0b941a0c4dacca9d4ed6891 100644 (file)
@@ -27,8 +27,7 @@ $(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE)
 $(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
        (cd $(VTUN_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index c1d0b461c3a350dd89c69309064573e2b37a1764..d6e832087b4b69acd28f1331581c63e5528ea2a3 100644 (file)
@@ -23,8 +23,7 @@ $(WGET_DIR)/.unpacked: $(DL_DIR)/$(WGET_SOURCE)
 $(WGET_DIR)/.configured: $(WGET_DIR)/.unpacked
        (cd $(WGET_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index a87c14f4b7882568aee6c1b4ba5ebd0deea324c4..60d59b104f9e7b3dbd38143bb6992c09eb87750e 100644 (file)
@@ -23,8 +23,7 @@ $(WHICH_DIR)/.unpacked: $(DL_DIR)/$(WHICH_SOURCE)
 $(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
        (cd $(WHICH_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
index d74825671196a378980c99442d50bb5a7608122f..1e7481490aedf060b5743bd35aa89ff23f8be813 100644 (file)
@@ -34,7 +34,7 @@ XFSPROGS_CONFIG_SHARED:=--enable-shared
 $(XFSPROGS_DIR)/.configured: $(XFSPROGS_DIR)/.unpacked
        (cd $(XFSPROGS_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               $(TARGET_CONFIGURE_ARGS) \
                CPPFLAGS=-I$(E2FSPROGS_DIR)/lib \
                LDFLAGS="$(TARGET_LDFLAGS) -L$(E2FSPROGS_DIR)/lib" \
                LIBTOOL=$(LIBTOOL_DIR)/libtool \