From ba32e634192942496a1994097887e9c163fee874 Mon Sep 17 00:00:00 2001 From: Martin Gerhardy Date: Fri, 26 Nov 2010 16:48:52 +0100 Subject: [PATCH] new package: bfd --- src/bfd.mk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/bfd.mk diff --git a/src/bfd.mk b/src/bfd.mk new file mode 100644 index 00000000..dcd0f3a8 --- /dev/null +++ b/src/bfd.mk @@ -0,0 +1,29 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# Binary file descriptor lib +PKG := libbfd +$(PKG)_IGNORE := $(binutils_IGNORE) +$(PKG)_VERSION := $(binutils_VERSION) +$(PKG)_CHECKSUM := $(binutils_CHECKSUM) +$(PKG)_SUBDIR := $(binutils_SUBDIR) +$(PKG)_FILE := $(binutils_FILE) +$(PKG)_WEBSITE := $(binutils_WEBSITE) +$(PKG)_URL := $(binutils_URL) +$(PKG)_URL_2 := $(binutils_URL2) +$(PKG)_DEPS := binutils + +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