Mercurial > mxe-octave
annotate src/bfd.mk @ 4200:5cee475eceb0
temporary fixes for of-odepkg package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Aug 2016 15:02:02 -0400 |
parents | 13be64f9f16d |
children |
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 | 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 | 13 |
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 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
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 | 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 | 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 | 25 $(MAKE) -C '$(1)/bfd' -j '$(JOBS)' |
26 $(MAKE) -C '$(1)/bfd' -j 1 install | |
27 endef |