projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
binutils: the shared variant of libbfd/libopcodes is being generated and used again...
[openwrt/svn-archive/archive.git]
/
devel
/
binutils
/
Makefile
diff --git
a/devel/binutils/Makefile
b/devel/binutils/Makefile
index 98525cb85cb1221301745505a0eccb0586470eb7..8d0c7288d76c8e03701dbd3c176e1a12748f1cf8 100644
(file)
--- a/
devel/binutils/Makefile
+++ b/
devel/binutils/Makefile
@@
-23,6
+23,12
@@
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
+define Package/libbfd
+ SECTION:=devel
+ CATEGORY:=Development
+ TITLE:=libbfd
+endef
+
define Package/binutils
SECTION:=devel
CATEGORY:=Development
define Package/binutils
SECTION:=devel
CATEGORY:=Development
@@
-34,7
+40,7
@@
define Package/objdump
SECTION:=devel
CATEGORY:=Development
TITLE:=objdump
SECTION:=devel
CATEGORY:=Development
TITLE:=objdump
- DEPENDS:=+zlib
+ DEPENDS:=+zlib
+libbfd
endef
define Package/binutils/description
endef
define Package/binutils/description
@@
-81,6
+87,14
@@
define Build/Compile
$(call Build/Compile/Default)
endef
$(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/*-linux/bin/objdump $(1)/usr/bin/
define Package/objdump/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/*-linux/bin/objdump $(1)/usr/bin/
@@
-93,5
+107,6
@@
define Package/binutils/install
rm -f $(1)/usr/bin/objdump
endef
rm -f $(1)/usr/bin/objdump
endef
+$(eval $(call BuildPackage,libbfd))
$(eval $(call BuildPackage,binutils))
$(eval $(call BuildPackage,objdump))
$(eval $(call BuildPackage,binutils))
$(eval $(call BuildPackage,objdump))