summaryrefslogtreecommitdiffstats
path: root/src/binutils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/binutils.mk')
-rw-r--r--src/binutils.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/binutils.mk b/src/binutils.mk
index 0424254..a768cae 100644
--- a/src/binutils.mk
+++ b/src/binutils.mk
@@ -9,7 +9,7 @@ $(PKG)_SUBDIR := binutils-$($(PKG)_VERSION)
$(PKG)_FILE := binutils-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/binutils/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/binutils/$($(PKG)_FILE)
-$(PKG)_DEPS :=
+$(PKG)_DEPS := pkgconf
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/binutils/?C=M;O=D' | \
@@ -19,13 +19,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # install target-specific autotools config file
- $(INSTALL) -d '$(PREFIX)/$(TARGET)/share'
- echo "ac_cv_build=`$(1)/config.guess`" > '$(PREFIX)/$(TARGET)/share/config.site'
-
cd '$(1)' && ./configure \
--target='$(TARGET)' \
- --build="`config.guess`" \
+ --build='$(BUILD)' \
--prefix='$(PREFIX)' \
--disable-multilib \
--with-gcc \