summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Gerhardy <martin.gerhardy@gmail.com>2010-11-26 15:48:52 (GMT)
committerMartin Gerhardy <martin.gerhardy@gmail.com>2010-11-26 15:48:52 (GMT)
commitba32e634192942496a1994097887e9c163fee874 (patch)
tree27492c5b0f5acc83a37b9169cd15999c5458f561
parentd294dfc9c3219de45152a6729aeda78c02d0f18d (diff)
downloadmxe-ba32e634192942496a1994097887e9c163fee874.zip
mxe-ba32e634192942496a1994097887e9c163fee874.tar.gz
mxe-ba32e634192942496a1994097887e9c163fee874.tar.bz2
new package: bfd
-rw-r--r--src/bfd.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/bfd.mk b/src/bfd.mk
new file mode 100644
index 0000000..dcd0f3a
--- /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