summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-26 04:54:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-26 04:54:25 +0000
commit486e1091a70c1af55e88d554103058a5f39a646f (patch)
tree0485514ef984a464f13689a1ee1261e30bccdbb2
parent857bb5029f52934e05cdbb7da49229e009a2bc66 (diff)
install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14196 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/binutils/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index e6f60a846..93d639220 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -24,6 +24,7 @@ endif
PATCH_DIR:=./patches/$(PKG_VERSION)
+REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST)
STAGING_DIR_HOST:=$(TOOLCHAIN_DIR)
BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
@@ -62,6 +63,7 @@ endef
define Build/Install
$(MAKE) -C $(PKG_BUILD_DIR) install
+ $(CP) $(TOOLCHAIN_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-readelf $(REAL_STAGING_DIR_HOST)/bin/readelf
endef
define Build/Clean