[build] .gdbinit should not use appending
@@ -225,13 +225,13 @@ main_app: $(OUTPUT_DIR)/config.mk $(YOS_SDK_PRE_APP_BUILDS) $(MAKEFILES_PATH)/ao
ifeq ($(SUB_BUILD),)
.gdbinit: $(OUTPUT_DIR)/config.mk $(MAKEFILES_PATH)/aos_host_cmd.mk main_app
$(QUIET)$(ECHO) Making $@
- $(QUIET)$(ECHO) set remotetimeout 20 >> $@
+ $(QUIET)$(ECHO) set remotetimeout 20 > $@
$(QUIET)$(ECHO) $(GDB_KILL_OPENOCD) >> $@
$(QUIET)$(ECHO) $(GDBINIT_STRING) >> $@
ifneq ($(BINS),)
.gdbinit$(BINSTYPE_LOWER): $(OUTPUT_DIR)/config.mk $(MAKEFILES_PATH)/aos_host_cmd.mk main_app
$(QUIET)$(ECHO) Making $@
- $(QUIET)$(ECHO) $(SUBGDBINIT_STRING) >> $@
+ $(QUIET)$(ECHO) $(SUBGDBINIT_STRING) > $@
endif
endif
