annotate src/binutils.mk @ 714:29f1ba4559ae

point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 08 Feb 2010 00:58:06 +0100
parents dab071eac9c0
children b232fc551b1e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 543
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
505
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
4 # GNU Binutils
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 301
diff changeset
5 PKG := binutils
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
6 $(PKG)_IGNORE :=
505
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
7 $(PKG)_VERSION := 2.20
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
8 $(PKG)_CHECKSUM := 747e7b4d94bce46587236dc5f428e5b412a590dc
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
9 $(PKG)_SUBDIR := binutils-$($(PKG)_VERSION)
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
10 $(PKG)_FILE := binutils-$($(PKG)_VERSION).tar.bz2
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/binutils/
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
12 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/binutils/$($(PKG)_FILE)
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
13 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/binutils/$($(PKG)_FILE)
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
14 $(PKG)_DEPS :=
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 define $(PKG)_UPDATE
505
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
17 wget -q -O- 'http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/?cvsroot=src' | \
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
18 grep '<OPTION>binutils-' | \
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
19 $(SED) -n 's,.*binutils-\([0-9][0-9_]*\).*,\1,p' | \
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
20 $(SED) 's,_,.,g' | \
398d63c87ef8 update version of package binutils
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
21 head -1
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 endef
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 define $(PKG)_BUILD
131
ed98f6b98e35 use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents: 115
diff changeset
25 cd '$(1)' && ./configure \
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --target='$(TARGET)' \
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)' \
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --with-gcc \
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-gnu-ld \
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --with-gnu-as \
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --disable-nls \
543
c1a03ad713d1 portability fix to packages binutils and gcc for MacOS 10.6
Volker Grabsch <vog@notjusthosting.com>
parents: 505
diff changeset
32 --disable-shared \
c1a03ad713d1 portability fix to packages binutils and gcc for MacOS 10.6
Volker Grabsch <vog@notjusthosting.com>
parents: 505
diff changeset
33 --disable-werror
173
b279dbda0f54 improved parallel builds of packages 'binutils', 'pdflib_lite' and 'sdl'
Volker Grabsch <vog@notjusthosting.com>
parents: 143
diff changeset
34 $(MAKE) -C '$(1)' -j '$(JOBS)'
b279dbda0f54 improved parallel builds of packages 'binutils', 'pdflib_lite' and 'sdl'
Volker Grabsch <vog@notjusthosting.com>
parents: 143
diff changeset
35 $(MAKE) -C '$(1)' -j 1 install
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 endef