From 1233c6d13369ce48575ecfab6e42f1a6d574a615 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 10 Jun 2015 13:09:09 -0500 Subject: [PATCH] only install simulator when simulator target used --- toolchain/gdb/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.11.4.GIT