summaryrefslogtreecommitdiff
path: root/toolchain/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-10 13:09:09 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 13:09:09 -0500
commit1233c6d13369ce48575ecfab6e42f1a6d574a615 (patch)
tree11bbbd0c904092a3eb9889ab11036124dd1de0ac /toolchain/gdb
parentf37da1684f5ecc03ffadf85e9eca01d8c378a1c7 (diff)
only install simulator when simulator target used
Diffstat (limited to 'toolchain/gdb')
-rw-r--r--toolchain/gdb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 8d9455629..f890a867e 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -55,12 +55,14 @@ $(WRKBUILD)/.compiled:
$(WRKBUILD)/.installed:
$(INSTALL_BIN) $(WRKBUILD)/gdb/gdb $(TARGET_CROSS)gdb
+ifeq ($(ADK_TARGET_SIM),y)
ifeq ($(ADK_TARGET_ARCH_BFIN),y)
$(INSTALL_BIN) $(WRKBUILD)/sim/bfin/run $(TARGET_CROSS)run
endif
ifeq ($(ADK_TARGET_ARCH_H8300),y)
$(INSTALL_BIN) $(WRKBUILD)/sim/h8300/run $(TARGET_CROSS)run
endif
+endif
touch $@
include ${ADK_TOPDIR}/mk/toolchain.mk