Skip to content

Commit

Permalink
make: add flash-nodep target
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Mar 24, 2017
1 parent 4dc2028 commit c183d15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ endif
BASELIBS += $(BINDIR)/${APPLICATION}.a
BASELIBS += $(APPDEPS)

.PHONY: all clean flash term doc debug debug-server reset objdump help info-modules
.PHONY: all clean flash-nodep term doc debug debug-server reset objdump help info-modules
.PHONY: ..in-docker-container

ELFFILE ?= $(BINDIR)/$(APPLICATION).elf
Expand Down Expand Up @@ -345,7 +345,9 @@ distclean:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done
-@rm -rf $(BINDIRBASE)

flash: all
flash: all flash-nodep

flash-nodep:
@command -v $(FLASHER) >/dev/null 2>&1 || \
{ $(COLOR_ECHO) \
'${COLOR_RED}Flash program $(FLASHER) not found. Aborting.${COLOR_RESET}'; \
Expand Down

0 comments on commit c183d15

Please sign in to comment.