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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [mp3/] [sw/] [ints/] [Makefile] - Blame information for rev 564

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

Line No. Rev Author Line
1 505 lampret
common = ../support/except.o ../support/support.o
2 564 lampret
cases = ints1-nocache ints1-ic ints2-nocache ints2-ic ints1-dc ints2-dc ints1-icdc ints2-icdc ints3-nocache
3 319 lampret
 
4 505 lampret
all: $(cases)
5 319 lampret
 
6 505 lampret
ints1-nocache: $(common) ../support/reset-nocache.o handlers.o ints1.o
7
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
8
        or32-rtems-objcopy -O binary $@.or32 $@.bin
9
        ../utils/bin2srec $@.bin > $@.srec
10
        ../utils/bin2hex $@.bin > $@.hex
11
        cp $@.hex ../../sim/src/$@.mem
12 319 lampret
 
13 505 lampret
ints1-ic: $(common) ../support/reset-ic.o handlers.o ints1.o
14
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
15
        or32-rtems-objcopy -O binary $@.or32 $@.bin
16
        ../utils/bin2srec $@.bin > $@.srec
17
        ../utils/bin2hex $@.bin > $@.hex
18
        cp $@.hex ../../sim/src/$@.mem
19 319 lampret
 
20 505 lampret
ints2-nocache: $(common) ../support/reset-nocache.o handlers.o ints2.o
21
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
22
        or32-rtems-objcopy -O binary $@.or32 $@.bin
23
        ../utils/bin2srec $@.bin > $@.srec
24
        ../utils/bin2hex $@.bin > $@.hex
25
        cp $@.hex ../../sim/src/$@.mem
26
 
27
ints2-ic: $(common) ../support/reset-ic.o handlers.o ints2.o
28
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
29
        or32-rtems-objcopy -O binary $@.or32 $@.bin
30
        ../utils/bin2srec $@.bin > $@.srec
31
        ../utils/bin2hex $@.bin > $@.hex
32
        cp $@.hex ../../sim/src/$@.mem
33
 
34
ints1-dc: $(common) ../support/reset-dc.o handlers.o ints1.o
35
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
36
        or32-rtems-objcopy -O binary $@.or32 $@.bin
37
        ../utils/bin2srec $@.bin > $@.srec
38
        ../utils/bin2hex $@.bin > $@.hex
39
        cp $@.hex ../../sim/src/$@.mem
40
 
41
ints2-dc: $(common) ../support/reset-dc.o handlers.o ints2.o
42
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
43
        or32-rtems-objcopy -O binary $@.or32 $@.bin
44
        ../utils/bin2srec $@.bin > $@.srec
45
        ../utils/bin2hex $@.bin > $@.hex
46
        cp $@.hex ../../sim/src/$@.mem
47
 
48
ints1-icdc: $(common) ../support/reset-icdc.o handlers.o ints1.o
49
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
50
        or32-rtems-objcopy -O binary $@.or32 $@.bin
51
        ../utils/bin2srec $@.bin > $@.srec
52
        ../utils/bin2hex $@.bin > $@.hex
53
        cp $@.hex ../../sim/src/$@.mem
54
 
55
ints2-icdc: $(common) ../support/reset-icdc.o handlers.o ints2.o
56
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
57
        or32-rtems-objcopy -O binary $@.or32 $@.bin
58
        ../utils/bin2srec $@.bin > $@.srec
59
        ../utils/bin2hex $@.bin > $@.hex
60
        cp $@.hex ../../sim/src/$@.mem
61
 
62 564 lampret
ints3-nocache: $(common) ../support/reset-nocache.o handlers.o ints3.o
63
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
64
        or32-rtems-objcopy -O binary $@.or32 $@.bin
65
        ../utils/bin2srec $@.bin > $@.srec
66
        ../utils/bin2hex $@.bin > $@.hex
67
        cp $@.hex ../../sim/src/$@.mem
68
 
69 505 lampret
ints1.o: ints1.S
70
        or32-rtems-gcc $? -c -o $@
71
 
72
ints2.o: ints2.S
73
        or32-rtems-gcc $? -c -o $@
74
 
75 564 lampret
ints3.o: ints3.S
76
        or32-rtems-gcc $? -c -o $@
77
 
78 505 lampret
handlers.o: handlers.S
79
        or32-rtems-gcc $? -c -o $@
80
 
81 319 lampret
clean:
82 505 lampret
        rm -f *.o *.or32 *.log *.bin *.srec *.hex

powered by: WebSVN 2.1.0

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