From: Felix Fietkau Date: Mon, 26 Jan 2009 04:54:25 +0000 (+0000) Subject: install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=f73f2e2ee2973bb88f31859c69010dc24187f47e install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it) SVN-Revision: 14196 --- diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index e6f60a846c..93d6392201 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