summaryrefslogtreecommitdiff
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-28 06:50:49 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-28 06:51:21 -0500
commit8a1a850ac05f62d3ba9e1d3083258a37a92a9265 (patch)
tree3d03ca7483b03e4dcc2fdb032415a5209b6b50f1 /toolchain/binutils
parenta8c74738577cdc2233086f06ddc3f2bf69d13f98 (diff)
more h8300 fixes
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index f4f72587c..1dade7c8b 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -71,6 +71,10 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_GIT),y)
+ $(INSTALL_DIR) $(TOOLCHAIN_DIR)/usr/lib/ldscripts
+ $(CP) $(WRKBUILD)/ld/ldscripts/* $(TOOLCHAIN_DIR)/usr/lib/ldscripts/
+endif
@touch $@
include ${ADK_TOPDIR}/mk/toolchain.mk