You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/bfd.mk

31 lines
867 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := bfd
$(PKG)_WEBSITE := https://www.gnu.org/software/binutils/
$(PKG)_DESCR := Binary File Descriptor library
$(PKG)_IGNORE = $(binutils_IGNORE)
$(PKG)_VERSION = $(binutils_VERSION)
$(PKG)_CHECKSUM = $(binutils_CHECKSUM)
$(PKG)_SUBDIR = $(binutils_SUBDIR)
$(PKG)_FILE = $(binutils_FILE)
$(PKG)_URL = $(binutils_URL)
$(PKG)_URL_2 = $(binutils_URL_2)
$(PKG)_DEPS := cc
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 =