X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b466822eee105ec1e0f55ff38430880b2f438ca3..d3ca1bb1e5da035eba69e6d0de71d4ddaa10c1f1:/toolchain/binutils/Makefile 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