Mercurial > mxe-octave
view 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 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := bfd $(PKG)_IGNORE = $(binutils_IGNORE) $(PKG)_CHECKSUM = $(binutils_CHECKSUM) $(PKG)_SUBDIR = $(binutils_SUBDIR) $(PKG)_FILE = $(binutils_FILE) $(PKG)_URL = $(binutils_URL) $(PKG)_URL_2 = $(binutils_URL2) $(PKG)_DEPS := gcc define $(PKG)_UPDATE echo $(binutils_VERSION) endef define $(PKG)_BUILD cd '$(1)/bfd' && ./configure \ --host='$(TARGET)' \ --target='$(TARGET)' \ --prefix='$(HOST_PREFIX)' \ --enable-install-libbfd \ $(ENABLE_SHARED_OR_STATIC) $(MAKE) -C '$(1)/bfd' -j '$(JOBS)' $(MAKE) -C '$(1)/bfd' -j 1 install endef