PKG_VERSION:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION)))
#"))
PKG_RELEASE:=2
+
PKG_SOURCE_URL:=@GNU/binutils
PKG_SOURCE:=binutils-$(PKG_VERSION).tar.bz2
+PKG_MD5SUM:=
+
PATCH_DIR:=$(TOPDIR)/toolchain/binutils/patches/$(PKG_VERSION)
+
+PKG_FIXUP:=libtool
+PKG_LIBTOOL_PATHS:=. gas bfd opcodes gprof binutils ld
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
--disable-werror \
--disable-nls \
)
+ $(call Build/Compile/Default, \
+ configure-bfd \
+ configure-binutils \
+ configure-etc \
+ configure-gas \
+ configure-gprof \
+ configure-intl \
+ configure-ld \
+ configure-libiberty \
+ configure-opcodes \
+ )
+ $(MAKE) -C $(PKG_BUILD_DIR)/bfd/po Makefile
endef
define Build/InstallDev
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
+ rm -f $(1)/usr/include/gdbm.h
endef
define Build/Compile