URL
https://opencores.org/ocsvn/test_project/test_project/trunk
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: except-nocache except-icdc
|
| 3 |
|
|
|
| 4 |
|
|
except-nocache: except_test_s.o except_test.o
|
| 5 |
|
|
$(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-nocache.o except_test_s.o except_test.o ../support/libsupport.a
|
| 6 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 7 |
|
|
../utils/bin2hex $@.bin > $@.hex
|
| 8 |
|
|
|
| 9 |
|
|
except-icdc: except_test_s.o except_test.o
|
| 10 |
|
|
$(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-icdc.o except_test_s.o except_test.o ../support/libsupport.a
|
| 11 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 12 |
|
|
../utils/bin2hex $@.bin > $@.hex
|
| 13 |
|
|
|
| 14 |
|
|
except_test.o: except_test.c Makefile
|
| 15 |
|
|
$(OR32_TOOL_PREFIX)-gcc -I../support -g -O2 -c -o except_test.o except_test.c -Wall -g -nostdlib -mhard-div
|
| 16 |
|
|
|
| 17 |
|
|
except_test_s.o: except_test_s.S Makefile
|
| 18 |
|
|
$(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except_test_s.o except_test_s.S -Wall -g -nostdlib -mhard-div
|
| 19 |
|
|
|
| 20 |
|
|
except.o: except.S Makefile
|
| 21 |
|
|
$(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except.o except.S -Wall -g -nostdlib -mhard-div
|
| 22 |
|
|
|
| 23 |
|
|
clean:
|
| 24 |
|
|
rm -rf *.o *.bin *.hex *.srec *.or32 *.log stdout.txt
|
| 25 |
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.