-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (24 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SSE=$(CHISEL_SIFT)/verilog/ScaleSpaceExtrema.v
.PHONY: netlist coregen bitstream bootfile image program clean all
all: program
hardware/system/implementation/system.ngc: hardware/system/system.xmp hardware/system/system.make
make -C hardware/system -f system.make netlist
netlist: hardware/system/implementation/system.ngc
hardware/coregen/coregen.log: hardware/coregen/coregen.cgp hardware/coregen/*.xco
make -C hardware/coregen
coregen: hardware/coregen/coregen.log
hardware/verilog/xillydemo.bit: hardware/coregen/coregen.log hardware/system/implementation/system.ngc hardware/cores/*.ngc $(SSE) hardware/verilog/src/*
make -C hardware/verilog
bitstream: hardware/verilog/xillydemo.bit
hardware/boot/boot.bin: hardware/verilog/xillydemo.bit
make -C hardware/boot
bootfile: hardware/boot/boot.bin
image: image_sdcard.sh xillinux.img
./image_sdcard.sh xillinux.img
program: program_sdcard.sh hardware/boot/boot.bin
./program_sdcard.sh hardware/boot/boot.bin
clean:
make -C hardware/system -f system.make clean && \
make -C hardware/coregen clean && \
make -C hardware/verilog clean && \
make -C hardware/boot clean