Skip to content

Commit 3af69a5

Browse files
author
Xiangfu Liu
committedSep 7, 2011
Makefile: add flash, it will flash both rescue and regular partitions
1 parent e8a29d2 commit 3af69a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@ $(BINDIR)/flickernoise.fbiz: $(BINDIR)/flickernoise.lzma
6868
load: $(BINDIR)/flickernoise.bin
6969
cp $< /var/lib/tftpboot/boot.bin
7070

71+
flash:
72+
(cd ../flash && ./flash.sh rescue)
73+
(cd ../flash && ./flash.sh)
74+
7175
clean:
7276
rm -f $(BINDIR)/flickernoise $(BINDIR)/flickernoise.bin
7377
rm -f $(BINDIR)/flickernoise.lzma $(BINDIR)/flickernoise.fbi $(BINDIR)/flickernoise.fbiz
7478
rm -f $(POBJS)
7579

76-
.PHONY: clean load
80+
.PHONY: clean load flash

0 commit comments

Comments
 (0)
Please sign in to comment.