annotate src/bfd.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1424
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
1424
212aadc668c6 cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents: 1423
diff changeset
4 PKG := bfd
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
5 $(PKG)_IGNORE = $(build-binutils_IGNORE)
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.22
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
7 $(PKG)_CHECKSUM = $(build-binutils_CHECKSUM)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
8 $(PKG)_SUBDIR = $(build-binutils_SUBDIR)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
9 $(PKG)_FILE = $(build-binutils_FILE)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
10 $(PKG)_URL = $(build-binutils_URL)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_URL_2 = $(build-binutils_URL2)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
12 $(PKG)_DEPS :=
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
15 echo $(build-binutils_VERSION)
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
16 endef
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
17
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18 define $(PKG)_BUILD
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19 cd '$(1)/bfd' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
21 --target='$(TARGET)' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
22 --prefix='$(HOST_PREFIX)' \
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
23 --enable-install-libbfd \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
24 $(ENABLE_SHARED_OR_STATIC)
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)/bfd' -j '$(JOBS)'
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)/bfd' -j 1 install
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
27 endef