bios: add flash target using m1nor
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 17 Feb 2012 17:16:29 +0000 (18:16 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 17 Feb 2012 17:16:29 +0000 (18:16 +0100)
software/bios/Makefile

index f916aaab02ac3a23bad221f69b898e772b81a92f..ad4eec7381f869acda972a6469b7c94bffc60b10 100644 (file)
@@ -25,7 +25,10 @@ libs:
        make -C $(M2DIR)/software/libbase
        make -C $(M2DIR)/software/libextra
 
-.PHONY: clean libs
+flash: bios.bin
+       m1nor bios.bin
 
 clean:
        rm -f $(OBJECTS) $(OBJECTS:.o=.d) bios.elf bios.bin bios-rescue.elf bios-rescue.bin .*~ *~
+
+.PHONY: clean libs flash