[packages] devel/binutils: Removed libbfd as it is no longer generated/used
authorDaniel Dickinson <crazycshore@gmail.com>
Sun, 12 Dec 2010 01:38:47 +0000 (01:38 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Sun, 12 Dec 2010 01:38:47 +0000 (01:38 +0000)
SVN-Revision: 24506

devel/binutils/Makefile

index 64da172..1ee9c0d 100644 (file)
@@ -23,12 +23,6 @@ PKG_INSTALL:=1
 
 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 @@ define Package/objdump
   SECTION:=devel
   CATEGORY:=Development
   TITLE:=objdump
-  DEPENDS:=+zlib +libbfd
+  DEPENDS:=+zlib 
 endef
 
 define Package/binutils/description
@@ -74,7 +68,7 @@ define Build/Configure
                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 @@ define Build/Compile
        $(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,6 +102,5 @@ define Package/binutils/install
        rm -f $(1)/usr/bin/objdump
 endef
 
-$(eval $(call BuildPackage,libbfd))
 $(eval $(call BuildPackage,binutils))
 $(eval $(call BuildPackage,objdump))