-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
42 lines (35 loc) · 1.69 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
38
39
40
BOARDS_ALTERA_BRAM = "\"de0 de0_nano de1 de2 coreboard chameleon64 chameleon64v2 mist c3board\""
BOARDS_ALTERA_SDRAM = "\"de0 de0_nano de1 de2 coreboard chameleon64 chameleon62v2 mist c3board\""
BOARDS_XILINX_BRAM = "\"minimig ems11_bb37\""
BOARDS_XILINX_SDRAM = "\"ems11_bb37\""
all: bram sdram utils
utils:
make -C ZPUSim
make -C Apps
bram:
# Projects that don't require SDRAM first.
make -C Dhrystone_fast BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C Dhrystone_min BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C HelloTinyROM BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C HelloWorld BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C HelloTinyZPU BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C Interrupt BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
make -C PS2 BOARDS_ALTERA=$(BOARDS_ALTERA_BRAM) BOARDS_XILINX=$(BOARDS_XILINX_BRAM)
sdram:
make -C RS232Bootstrap BOARDS_ALTERA=$(BOARDS_ALTERA_SDRAM) BOARDS_XILINX=$(BOARDS_XILINX_SDRAM)
make -C SDBootstrap BOARDS_ALTERA=$(BOARDS_ALTERA_SDRAM) BOARDS_XILINX=$(BOARDS_XILINX_SDRAM)
make -C SDRAM BOARDS_ALTERA=$(BOARDS_ALTERA_SDRAM) BOARDS_XILINX=$(BOARDS_XILINX_SDRAM)
make -C VGA BOARDS_ALTERA=$(BOARDS_ALTERA_SDRAM) BOARDS_XILINX=$(BOARDS_XILINX_SDRAM)
clean:
make -C ZPUSim clean
make -C Dhrystone_fast clean
make -C Dhrystone_min clean
make -C HelloTinyROM clean
make -C HelloWorld clean
make -C HelloTinyZPU clean
make -C Interrupt clean
make -C RS232Bootstrap clean
make -C SDBootstrap clean
make -C SDRAM clean
make -C VGA clean
make -C Apps clean