OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [cust/] [Makefile] - Blame information for rev 52

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
cases = cust-nocache-O0 cust-nocache-O2 cust-ic-O0 cust-ic-O2 cust-dc-O0 cust-dc-O2 cust-icdc-O0 cust-icdc-O2
3 52 julius
common = ../support/libsupport.a ../support/except.o
4 25 julius
 
5
all: $(cases)
6
 
7
cust-nocache-O0: cust-O0.o ../support/reset-nocache.o $(common)
8 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
9
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
10 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
11
        ../utils/bin2vmem $@.bin > $@.vmem
12 25 julius
 
13 45 julius
 
14 25 julius
cust-nocache-O2: cust-O2.o ../support/reset-nocache.o $(common)
15 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
16
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
17 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
18
        ../utils/bin2vmem $@.bin > $@.vmem
19 25 julius
 
20 45 julius
 
21 52 julius
cust-ic-O0: cust-O0.o ../support/reset-ic.o $(common)
22
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
23
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
24 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
25
        ../utils/bin2vmem $@.bin > $@.vmem
26 25 julius
 
27 45 julius
 
28 52 julius
cust-ic-O2: cust-O2.o ../support/reset-ic.o $(common)
29
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
30
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
31 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
32
        ../utils/bin2vmem $@.bin > $@.vmem
33 25 julius
 
34 45 julius
 
35 52 julius
cust-dc-O0: cust-O0.o ../support/reset-dc.o $(common)
36
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
37
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
38 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
39
        ../utils/bin2vmem $@.bin > $@.vmem
40 25 julius
 
41 45 julius
 
42 52 julius
cust-dc-O2: cust-O2.o ../support/reset-dc.o $(common)
43
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
44
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
45 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
46
        ../utils/bin2vmem $@.bin > $@.vmem
47 25 julius
 
48 45 julius
 
49 52 julius
cust-icdc-O0: cust-O0.o ../support/reset-icdc.o $(common)
50
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
51
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
52 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
53
        ../utils/bin2vmem $@.bin > $@.vmem
54 25 julius
 
55 45 julius
 
56 52 julius
cust-icdc-O2: cust-O2.o ../support/reset-icdc.o $(common)
57
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
58
        $(OR32_TOOL_PREFIX)-objcopy  -O binary $@.or32 $@.bin
59 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
60
        ../utils/bin2vmem $@.bin > $@.vmem
61 25 julius
 
62 45 julius
 
63 25 julius
cust-O0.o: cust.c
64 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O0 $? -c -o $@
65 25 julius
 
66
cust-O2.o: cust.c
67 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O2 $? -c -o $@
68 25 julius
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.