BB: binutils: link libbfd and libopcodes dynamically again

Backport of r42337.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42338 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo 2014-08-30 11:04:19 +00:00
parent d3b76e0a58
commit 32d501a8da
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=binutils PKG_NAME:=binutils
PKG_VERSION:=2.24 PKG_VERSION:=2.24
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE_URL:=@GNU/binutils PKG_SOURCE_URL:=@GNU/binutils
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@ -48,6 +48,7 @@ endef
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \
--enable-install-libiberty \ --enable-install-libiberty \
--enable-install-libbfd --enable-install-libbfd
@ -67,6 +68,8 @@ endef
define Package/objdump/install define Package/objdump/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/bin/objdump $(1)/usr/bin/ $(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 endef
define Package/binutils/install define Package/binutils/install