summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 18:09:19 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 18:09:19 +0200
commitc44180c43986bbdec74f1a605b294f5b809d451d (patch)
tree3b39a79128fcffe40bc09680fb9466b1336f9703 /package
parent2e5b8429cb9cf7efccd0a5893cdd0262745fd1b0 (diff)
downloadmtk-20170518-c44180c43986bbdec74f1a605b294f5b809d451d.zip
mtk-20170518-c44180c43986bbdec74f1a605b294f5b809d451d.tar.gz
mtk-20170518-c44180c43986bbdec74f1a605b294f5b809d451d.tar.bz2
package/devel/binutils: probably from OpenWRT
Diffstat (limited to 'package')
-rw-r--r--package/devel/binutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile
index a88b5d1..e8d45d2 100644
--- a/package/devel/binutils/Makefile
+++ b/package/devel/binutils/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=binutils
PKG_VERSION:=2.24
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL:=@GNU/binutils
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -48,6 +48,7 @@ endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
+ --enable-shared \
--enable-install-libiberty \
--enable-install-libbfd
@@ -67,6 +68,8 @@ endef
define Package/objdump/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/bin/objdump $(1)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopcodes*.so $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbfd*.so $(1)/usr/lib/
endef
define Package/binutils/install