summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index d4f6a54a9..7b276ae6d 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -69,8 +69,8 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
ifeq ($(ADK_TOOLCHAIN_BINUTILS_GIT),y)
ifeq ($(ADK_TARGET_ARCH_H8300),y)
- $(INSTALL_DIR) $(TOOLCHAIN_DIR)/usr/lib/ldscripts
- $(CP) $(WRKBUILD)/ld/ldscripts/* $(TOOLCHAIN_DIR)/usr/lib/ldscripts/
+ $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/lib/ldscripts
+ $(CP) $(WRKBUILD)/ld/ldscripts/* $(STAGING_TARGET_DIR)/usr/lib/ldscripts/
endif
endif
@touch $@