URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [sw/] [mmu/] [Makefile] - Rev 31
Go to most recent revision | Compare with Previous | Blame | View Log
include ../support/Makefile.inc
all: mmu-nocache mmu-icdc
mmu-nocache: mmu_asm.o mmu.o except.o
$(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
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
mmu-icdc: mmu_asm.o mmu.o except.o
$(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
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
mmu.o: mmu.c Makefile
$(OR32_TOOL_PREFIX)-gcc -O2 -I../support -c -o mmu.o mmu.c -Wall -g -nostdlib -mhard-div
mmu_asm.o: mmu_asm.S Makefile
$(OR32_TOOL_PREFIX)-gcc -I../support -c -o mmu_asm.o mmu_asm.S -Wall -g -nostdlib -mhard-div
except.o: except.S Makefile
$(OR32_TOOL_PREFIX)-gcc -I../support -c -o except.o except.S -Wall -g -nostdlib -mhard-div
clean:
rm -rf *.o *.or32 *.bin *.hex *.log stdout.txt
Go to most recent revision | Compare with Previous | Blame | View Log