make: added targets 'debug-server' and 'reset'
- added targets to Makefile.include - added DEBUGSERVER and RESET vars to Makefile.vars - added output of those to Makefile.buildtests
This commit is contained in:
parent
6c2b2cea61
commit
34abdbe5f2
@ -193,4 +193,11 @@ buildinfo:
|
|||||||
@echo 'DEBUGGER: $(DEBUGGER)'
|
@echo 'DEBUGGER: $(DEBUGGER)'
|
||||||
@echo 'DEBUGGER_FLAGS: $(DEBUGGER_FLAGS)'
|
@echo 'DEBUGGER_FLAGS: $(DEBUGGER_FLAGS)'
|
||||||
@echo ''
|
@echo ''
|
||||||
|
@echo 'DEBUGSERVER: $(DEBUGSERVER)'
|
||||||
|
@echo 'DEBUGSERVER_FLAGS: $(DEBUGSERVER_FLAGS)'
|
||||||
|
@echo ''
|
||||||
|
@echo 'RESET: $(RESET)'
|
||||||
|
@echo 'RESET_FLAGS: $(RESET_FLAGS)'
|
||||||
|
@echo ''
|
||||||
@echo -e 'MAKEFILE_LIST:$(patsubst %, \n\t%, $(abspath $(MAKEFILE_LIST)))'
|
@echo -e 'MAKEFILE_LIST:$(patsubst %, \n\t%, $(abspath $(MAKEFILE_LIST)))'
|
||||||
|
|
||||||
|
|||||||
@ -157,6 +157,12 @@ doc:
|
|||||||
debug:
|
debug:
|
||||||
$(DEBUGGER) $(DEBUGGER_FLAGS)
|
$(DEBUGGER) $(DEBUGGER_FLAGS)
|
||||||
|
|
||||||
|
debug-server:
|
||||||
|
$(DEBUGSERVER) $(DEBUGSERVER_FLAGS)
|
||||||
|
|
||||||
|
reset:
|
||||||
|
$(RESET) $(RESET_FLAGS)
|
||||||
|
|
||||||
# Extra make goals for testing and comparing changes.
|
# Extra make goals for testing and comparing changes.
|
||||||
include $(RIOTBASE)/Makefile.buildtests
|
include $(RIOTBASE)/Makefile.buildtests
|
||||||
|
|
||||||
|
|||||||
@ -40,3 +40,9 @@ export TERMPROG # The command to call on "make term".
|
|||||||
export PORT # The parameters to supply to TERMPROG.
|
export PORT # The parameters to supply to TERMPROG.
|
||||||
export ELFFILE # The unstripped result of the compilation.
|
export ELFFILE # The unstripped result of the compilation.
|
||||||
export HEXFILE # The stripped result of the compilation.
|
export HEXFILE # The stripped result of the compilation.
|
||||||
|
export DEBUGGER # The command to call on "make debug", usually a script starting the GDB front-end
|
||||||
|
export DEBUGGER_FLAGS # The parameters to supply to DEBUGGER
|
||||||
|
export DEBUGSERVER # The command to call on "make debug-server", usually a script starting the GDB server
|
||||||
|
export DEBUGSERVER_FLAGS # The parameters to supply to DEBUGSERVER
|
||||||
|
export RESET # The command to call on "make reset", this command resets/reboots the target
|
||||||
|
export RESET_FLAGS # The parameters to supply to RESET
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user