Explorar o código

only install simulator when simulator target used

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
1233c6d133
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      toolchain/gdb/Makefile

+ 2 - 0
toolchain/gdb/Makefile

@@ -55,11 +55,13 @@ $(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 $@