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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [orp/] [orp_soc/] [sw.old/] [syscall/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 782 lampret
common = ../support/except.o ../support/support.o
2
cases = syscall-nocache syscall-ic syscall-dc syscall-icdc
3
 
4
all: $(cases)
5
 
6
syscall-nocache: $(common) syscall.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
syscall-ic: $(common) syscall.o ../support/reset-ic.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
syscall-dc: $(common) syscall.o ../support/reset-dc.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
syscall-icdc: $(common) syscall.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
syscall.o: syscall.S
35
        or32-rtems-gcc -O0 $? -c -o $@
36
 
37
clean:
38
        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.