litex/Makefile

22 lines
300 B
Makefile
Raw Normal View History

2013-05-10 16:30:28 -04:00
RM ?= rm -f
all: build/soc.bit build/soc.fpg
build/soc.bit build/soc.bin:
2013-02-11 12:23:06 -05:00
./build.py
build/soc.fpg: build/soc.bin
2013-05-10 16:30:28 -04:00
$(MAKE) -C tools
2013-02-19 07:27:43 -05:00
tools/byteswap $< $@
load: build/soc.bit
jtag -n load.jtag
flash: build/soc.fpg
m1nor-ng build/soc.fpg
clean:
2013-05-10 16:30:28 -04:00
$(RM) -r build/*
.PHONY: all load clean flash