Makefile: Add program-debug option for flashing debug elf
This commit is contained in:
parent
47d8df052a
commit
acbde24c2f
@ -134,7 +134,10 @@ $(ASOBJ):
|
||||
$(QUIET)$(CC) $(CFLAGS) -MMD -MT $@ $(INCLUDEPATH) $(DEFINES) -o $@ $(@:$(OBJDIR)/%.S.o=%.S)
|
||||
|
||||
|
||||
.PHONY: qtproject-legacy qtproject qtproject-debug clean mrproper objcopy disassemble program
|
||||
.PHONY: qtproject-legacy qtproject qtproject-debug clean mrproper objcopy disassemble program program-debug
|
||||
|
||||
program-debug:
|
||||
$(QUIET)$(MAKE) DEBUGBUILD=true program
|
||||
|
||||
program: $(target).elf
|
||||
./program-device.sh $<
|
||||
|
Loading…
Reference in New Issue
Block a user