[packages] devel/binutils: Removed libbfd as it is no longer generated/used
[packages] devel/binutils: Removed libbfd as it is no longer generated/used

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24506 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -23,12 +23,6 @@
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/libbfd
-  SECTION:=devel
-  CATEGORY:=Development
-  TITLE:=libbfd
-endef
-
 define Package/binutils
   SECTION:=devel
   CATEGORY:=Development
@@ -40,7 +34,7 @@
   SECTION:=devel
   CATEGORY:=Development
   TITLE:=objdump
-  DEPENDS:=+zlib +libbfd
+  DEPENDS:=+zlib 
 endef
 
 define Package/binutils/description
@@ -74,7 +68,7 @@
 		configure-libiberty \
 		configure-opcodes \
 	)
-	$(MAKE) -C $(PKG_BUILD_DIR)/bfd/po Makefile
+	$(MAKE) CFLAGS="$(TARGET_CFLAGS)"-C $(PKG_BUILD_DIR)/bfd/po Makefile
 endef
 
 define Build/InstallDev
@@ -96,14 +90,6 @@
 	$(call Build/Compile/Default)
 endef
 
-define Package/libbfd/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/lib/libopcodes-$(PKG_VERSION).so \
-		$(PKG_INSTALL_DIR)/usr/lib/libbfd-$(PKG_VERSION).so \
-		$(1)/usr/lib/
-endef
-
 define Package/objdump/install
 	$(INSTALL_DIR) $(1)/usr/bin
 	$(CP) $(PKG_INSTALL_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/objdump $(1)/usr/bin/
@@ -116,7 +102,6 @@
 	rm -f $(1)/usr/bin/objdump
 endef
 
-$(eval $(call BuildPackage,libbfd))
 $(eval $(call BuildPackage,binutils))
 $(eval $(call BuildPackage,objdump))
 

comments