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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [orp/] [orp_soc/] [sw/] [dhry/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1089 lampret
 
2
cases = dhry-nocache-O0 dhry-nocache-O2 dhry-icdc-O2
3
common = ../support/libsupport.a
4
 
5
all: $(cases)
6
 
7
dhry-nocache-O0: dhry-O0.o ../support/reset-nocache.o $(common)
8
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32
9
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
10
        ../utils/bin2hex $@.bin > $@.hex
11
        cp $@.hex ../../sim/src/
12
 
13
dhry-nocache-O2: dhry-O2.o ../support/reset-nocache.o $(common)
14
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32
15
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
16
        ../utils/bin2hex $@.bin > $@.hex
17
        cp $@.hex ../../sim/src/
18
 
19
dhry-icdc-O2: dhry-O2.o ../support/reset-icdc.o $(common)
20
        or32-uclinux-ld -T ../support/orp.ld $? -o $@.or32
21
        or32-uclinux-objcopy -O binary $@.or32 $@.bin
22
        ../utils/bin2hex $@.bin > $@.hex
23
        cp $@.hex ../../sim/src/
24
 
25
dhry-O0.o: dhry.c
26
        or32-uclinux-gcc -I../support -O0 $? -mhard-div -c -o $@
27
 
28
dhry-O2.o: dhry.c
29
        or32-uclinux-gcc -I../support -O2 $? -mhard-div -c -o $@
30
 
31
clean:
32
        rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt

powered by: WebSVN 2.1.0

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