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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [mmu/] [Makefile] - Blame information for rev 34

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

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
all: mmu-nocache mmu-icdc
3
 
4
mmu-nocache: mmu_asm.o mmu.o except.o
5
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-nocache.o except.o mmu_asm.o mmu.o ../support/libsupport.a
6
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
7
        ../utils/bin2hex $@.bin > $@.hex
8
 
9
mmu-icdc: mmu_asm.o mmu.o except.o
10
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-icdc.o except.o mmu_asm.o mmu.o ../support/libsupport.a
11
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
12
        ../utils/bin2hex $@.bin > $@.hex
13
 
14
mmu.o: mmu.c Makefile
15
        $(OR32_TOOL_PREFIX)-gcc -O2 -I../support -c -o mmu.o mmu.c -Wall -g -nostdlib -mhard-div
16
 
17
mmu_asm.o: mmu_asm.S Makefile
18
        $(OR32_TOOL_PREFIX)-gcc -I../support -c -o mmu_asm.o mmu_asm.S -Wall -g -nostdlib -mhard-div
19
 
20
except.o: except.S Makefile
21
        $(OR32_TOOL_PREFIX)-gcc -I../support -c -o except.o except.S  -Wall -g -nostdlib -mhard-div
22
 
23
clean:
24
        rm -rf *.o *.or32 *.bin *.hex *.log stdout.txt
25
 

powered by: WebSVN 2.1.0

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