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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orp/] [orp_soc/] [sw/] [cust/] [Makefile] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1287 lampret
 
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
common = ../support/libsupport.a
4
 
5
all: $(cases)
6
 
7
cust-nocache-O0: cust-O0.o ../support/reset-nocache.o $(common)
8
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32
9
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
10
        ../utils/bin2hex $@.bin > $@.hex
11
        cp $@.hex ../../sim/src/
12
 
13
cust-nocache-O2: cust-O2.o ../support/reset-nocache.o $(common)
14
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32
15
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
16
        ../utils/bin2hex $@.bin > $@.hex
17
        cp $@.hex ../../sim/src/
18
 
19
cust-ic-O0: cust-O0.o ../support/reset-ic.o
20
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
21
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
22
        ../utils/bin2hex $@.bin > $@.hex
23
        cp $@.hex ../../sim/src/
24
 
25
cust-ic-O2: cust-O2.o ../support/reset-ic.o
26
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
27
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
28
        ../utils/bin2hex $@.bin > $@.hex
29
        cp $@.hex ../../sim/src/
30
 
31
cust-dc-O0: cust-O0.o ../support/reset-dc.o
32
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
33
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
34
        ../utils/bin2hex $@.bin > $@.hex
35
        cp $@.hex ../../sim/src/
36
 
37
cust-dc-O2: cust-O2.o ../support/reset-dc.o
38
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
39
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
40
        ../utils/bin2hex $@.bin > $@.hex
41
        cp $@.hex ../../sim/src/
42
 
43
cust-icdc-O0: cust-O0.o ../support/reset-icdc.o
44
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
45
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
46
        ../utils/bin2hex $@.bin > $@.hex
47
        cp $@.hex ../../sim/src/
48
 
49
cust-icdc-O2: cust-O2.o ../support/reset-icdc.o
50
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32 $(common)
51
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
52
        ../utils/bin2hex $@.bin > $@.hex
53
        cp $@.hex ../../sim/src/
54
 
55
cust-O0.o: cust.c
56
        or32-uclinux-gcc -O0 $? -c -o $@
57
 
58
cust-O2.o: cust.c
59
        or32-uclinux-gcc -O2 $? -c -o $@
60
 
61
clean:
62
        rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt

powered by: WebSVN 2.1.0

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