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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [sw/] [int_test/] [Makefile] - Blame information for rev 592

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

Line No. Rev Author Line
1 592 lampret
#common = ../support/except.o ../support/support.o
2
common =
3
cases = int_test-nocache
4
 
5
all: $(cases)
6
 
7
int_test-nocache: $(common) int_test.o
8
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
9
        or32-rtems-objcopy -O binary $@.or32 $@.bin
10
        ../utils/bin2srec $@.bin > $@.srec
11
        ../utils/bin2hex $@.bin > $@.hex
12
        cp $@.hex ../../sim/src/$@.mem
13
 
14
basic-ic: $(common) basic.o ../support/reset-ic.o
15
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
16
        or32-rtems-objcopy -O binary $@.or32 $@.bin
17
        ../utils/bin2srec $@.bin > $@.srec
18
        ../utils/bin2hex $@.bin > $@.hex
19
        cp $@.hex ../../sim/src/$@.mem
20
 
21
basic-dc: $(common) basic.o ../support/reset-dc.o
22
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
23
        or32-rtems-objcopy -O binary $@.or32 $@.bin
24
        ../utils/bin2srec $@.bin > $@.srec
25
        ../utils/bin2hex $@.bin > $@.hex
26
        cp $@.hex ../../sim/src/$@.mem
27
 
28
basic-icdc: $(common) basic.o ../support/reset-icdc.o
29
        or32-rtems-ld -T ../support/xess-flash.ld $? -o $@.or32
30
        or32-rtems-objcopy -O binary $@.or32 $@.bin
31
        ../utils/bin2srec $@.bin > $@.srec
32
        ../utils/bin2hex $@.bin > $@.hex
33
        cp $@.hex ../../sim/src/$@.mem
34
 
35
int_test.o: int_test.S
36
        or32-rtems-gcc -O0 $? -c -o $@
37
 
38
clean:
39
        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.