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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [sw/] [mmu/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 505 lampret
common = ../support/except.o ../support/support.o
2
cases = dmmu-nocache dmmu-dc dmmu-ic dmmu-icdc immu-nocache immu-dc immu-ic immu-icdc
3
 
4
all: $(cases)
5
 
6
dmmu-nocache: $(common) dmmu.o ../support/reset-nocache.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
 
13
dmmu-dc: $(common) dmmu.o ../support/reset-dc.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
 
20
dmmu-ic: $(common) dmmu.o ../support/reset-ic.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
dmmu-icdc: $(common) dmmu.o ../support/reset-icdc.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
immu-nocache: $(common) immu.o ../support/reset-nocache.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
immu-dc: $(common) immu.o ../support/reset-dc.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
immu-ic: $(common) immu.o ../support/reset-ic.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
immu-icdc: $(common) immu.o ../support/reset-icdc.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
dmmu.o: dmmu.S
63
        or32-rtems-gcc -O0 $? -c -o $@
64
 
65
immu.o: immu.S
66
        or32-rtems-gcc -O0 $? -c -o $@
67
 
68
clean:
69
        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.