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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [sw/] [syscall/] [Makefile] - Blame information for rev 1774

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
cases = syscall-nocache syscall-ic syscall-dc syscall-icdc
3 319 lampret
 
4 505 lampret
all: $(cases)
5 319 lampret
 
6 505 lampret
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 319 lampret
 
13 505 lampret
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 319 lampret
syscall.o: syscall.S
35 505 lampret
        or32-rtems-gcc -O0 $? -c -o $@
36 319 lampret
 
37
clean:
38 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.