Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile: add flash, it will flash both rescue and regular partitions
  • Loading branch information
Xiangfu Liu committed Sep 7, 2011
1 parent e8a29d2 commit 3af69a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Makefile
Expand Up @@ -68,9 +68,13 @@ $(BINDIR)/flickernoise.fbiz: $(BINDIR)/flickernoise.lzma
load: $(BINDIR)/flickernoise.bin
cp $< /var/lib/tftpboot/boot.bin

flash:
(cd ../flash && ./flash.sh rescue)
(cd ../flash && ./flash.sh)

clean:
rm -f $(BINDIR)/flickernoise $(BINDIR)/flickernoise.bin
rm -f $(BINDIR)/flickernoise.lzma $(BINDIR)/flickernoise.fbi $(BINDIR)/flickernoise.fbiz
rm -f $(POBJS)

.PHONY: clean load
.PHONY: clean load flash

0 comments on commit 3af69a5

Please sign in to comment.