Mercurial > mxe-octave
annotate src/bfd.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 47558e958113 |
children | bcc26ffe9a0f |
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 |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
5 $(PKG)_IGNORE = $(binutils_IGNORE) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
6 $(PKG)_CHECKSUM = $(binutils_CHECKSUM) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
7 $(PKG)_SUBDIR = $(binutils_SUBDIR) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
8 $(PKG)_FILE = $(binutils_FILE) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
9 $(PKG)_URL = $(binutils_URL) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
10 $(PKG)_URL_2 = $(binutils_URL2) |
212aadc668c6
cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents:
1423
diff
changeset
|
11 $(PKG)_DEPS := gcc |
1423 | 12 |
13 define $(PKG)_UPDATE | |
14 echo $(binutils_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 cd '$(1)/bfd' && ./configure \ | |
19 --host='$(TARGET)' \ | |
20 --target='$(TARGET)' \ | |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
21 --prefix='$(HOST_PREFIX)' \ |
1423 | 22 --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
|
23 $(ENABLE_SHARED_OR_STATIC) |
1423 | 24 $(MAKE) -C '$(1)/bfd' -j '$(JOBS)' |
25 $(MAKE) -C '$(1)/bfd' -j 1 install | |
26 endef |