mxe/src/bfd.mk

30 lines
760 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
2010-11-26 15:48:52 +00:00
2010-11-26 15:53:12 +00:00
PKG := bfd
$(PKG)_IGNORE = $(binutils_IGNORE)
$(PKG)_VERSION = $(binutils_VERSION)
2010-11-26 15:53:12 +00:00
$(PKG)_CHECKSUM = $(binutils_CHECKSUM)
$(PKG)_SUBDIR = $(binutils_SUBDIR)
$(PKG)_FILE = $(binutils_FILE)
$(PKG)_URL = $(binutils_URL)
2013-07-21 23:18:09 +01:00
$(PKG)_URL_2 = $(binutils_URL_2)
2010-11-26 15:53:12 +00:00
$(PKG)_DEPS := gcc
2010-11-26 15:48:52 +00:00
define $(PKG)_UPDATE
echo $(binutils_VERSION)
endef
define $(PKG)_BUILD
cd '$(1)/bfd' && ./configure \
--host='$(TARGET)' \
--target='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--enable-install-libbfd \
--disable-shared
$(MAKE) -C '$(1)/bfd' -j '$(JOBS)'
$(MAKE) -C '$(1)/bfd' -j 1 install
endef
$(PKG)_BUILD_SHARED =