URL
https://opencores.org/ocsvn/test_project/test_project/trunk
[/] [test_project/] [trunk/] [sw/] [mmu/] [Makefile] - Blame information for rev 46
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 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
8 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
9 |
25 |
julius |
|
10 |
45 |
julius |
|
11 |
25 |
julius |
mmu-icdc: mmu_asm.o mmu.o except.o
|
12 |
|
|
$(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
|
13 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
14 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
15 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
16 |
25 |
julius |
|
17 |
45 |
julius |
|
18 |
25 |
julius |
mmu.o: mmu.c Makefile
|
19 |
|
|
$(OR32_TOOL_PREFIX)-gcc -O2 -I../support -c -o mmu.o mmu.c -Wall -g -nostdlib -mhard-div
|
20 |
|
|
|
21 |
|
|
mmu_asm.o: mmu_asm.S Makefile
|
22 |
|
|
$(OR32_TOOL_PREFIX)-gcc -I../support -c -o mmu_asm.o mmu_asm.S -Wall -g -nostdlib -mhard-div
|
23 |
|
|
|
24 |
|
|
except.o: except.S Makefile
|
25 |
|
|
$(OR32_TOOL_PREFIX)-gcc -I../support -c -o except.o except.S -Wall -g -nostdlib -mhard-div
|
26 |
|
|
|
27 |
|
|
clean:
|
28 |
|
|
rm -rf *.o *.or32 *.bin *.hex *.log stdout.txt
|
29 |
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.