1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #2043 from LudwigOrtmann/flash-all-again

make: reintroduce dependency from flash to all
This commit is contained in:
Hinnerk van Bruinehsen 2014-11-20 10:58:33 +01:00
commit 1c0380548b

View File

@ -171,16 +171,7 @@ distclean:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i distclean ; done
-@rm -rf $(BINDIRBASE)
flash: $(filter all all-%, $(MAKECMDGOALS))
@if [ ! -f $${HEXFILE} ]; then \
echo ""; \
echo ""; \
echo "You need to create a hex file before you can flash it."; \
echo "Unless you know otherwise, 'make all' usually does what you want."; \
echo ""; \
echo ""; \
exit 1; \
fi
flash: all
$(FLASHER) $(FFLAGS)
term: