瀏覽代碼

only install simulator when simulator target used

Waldemar Brodkorb 9 年之前
父節點
當前提交
1233c6d133
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      toolchain/gdb/Makefile

+ 2 - 0
toolchain/gdb/Makefile

@@ -55,11 +55,13 @@ $(WRKBUILD)/.compiled:
 
 
 $(WRKBUILD)/.installed:
 $(WRKBUILD)/.installed:
 	$(INSTALL_BIN) $(WRKBUILD)/gdb/gdb $(TARGET_CROSS)gdb
 	$(INSTALL_BIN) $(WRKBUILD)/gdb/gdb $(TARGET_CROSS)gdb
+ifeq ($(ADK_TARGET_SIM),y)
 ifeq ($(ADK_TARGET_ARCH_BFIN),y)
 ifeq ($(ADK_TARGET_ARCH_BFIN),y)
 	$(INSTALL_BIN) $(WRKBUILD)/sim/bfin/run $(TARGET_CROSS)run
 	$(INSTALL_BIN) $(WRKBUILD)/sim/bfin/run $(TARGET_CROSS)run
 endif
 endif
 ifeq ($(ADK_TARGET_ARCH_H8300),y)
 ifeq ($(ADK_TARGET_ARCH_H8300),y)
 	$(INSTALL_BIN) $(WRKBUILD)/sim/h8300/run $(TARGET_CROSS)run
 	$(INSTALL_BIN) $(WRKBUILD)/sim/h8300/run $(TARGET_CROSS)run
+endif
 endif
 endif
 	touch $@
 	touch $@