diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
commit | 1f86817ee82b162a1a5bd495886183ca81a68ba7 (patch) | |
tree | 3116df65f83174295af8c6315a36583f460fe9e0 /src/binutils.mk | |
parent | 0f01e5e88f720fe5073c88f5cf1803d5c283904d (diff) | |
parent | e513258770cdc39c0d6a904437f191aa61b3175c (diff) | |
download | mxe-2.22.zip mxe-2.22.tar.gz mxe-2.22.tar.bz2 |
Merge all well-tested changes into the stable branchv2.22
Diffstat (limited to 'src/binutils.mk')
-rw-r--r-- | src/binutils.mk | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/binutils.mk b/src/binutils.mk index 6d29e94..50e96b3 100644 --- a/src/binutils.mk +++ b/src/binutils.mk @@ -1,14 +1,11 @@ -# This file is part of mingw-cross-env. -# See doc/index.html for further information. +# This file is part of MXE. +# See index.html for further information. -# GNU Binutils PKG := binutils $(PKG)_IGNORE := -$(PKG)_VERSION := 2.21.1a -$(PKG)_CHECKSUM := 525255ca6874b872540c9967a1d26acfbc7c8230 -$(PKG)_SUBDIR := binutils-2.21.1 +$(PKG)_CHECKSUM := 65b304a0b9a53a686ce50a01173d1f40f8efe404 +$(PKG)_SUBDIR := binutils-$($(PKG)_VERSION) $(PKG)_FILE := binutils-$($(PKG)_VERSION).tar.bz2 -$(PKG)_WEBSITE := http://www.gnu.org/software/binutils/ $(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 := @@ -21,8 +18,17 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # install config.guess for general use + $(INSTALL) -d '$(PREFIX)/bin' + $(INSTALL) -m755 '$(1)/config.guess' '$(PREFIX)/bin/' + + # 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`" \ --prefix='$(PREFIX)' \ --with-gcc \ --with-gnu-ld \ |