URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
25 |
julius |
|
| 2 |
|
|
include ../support/Makefile.inc
|
| 3 |
|
|
all: basic-nocache basic-icdc basic-ic basic-dc
|
| 4 |
52 |
julius |
common = ../support/except.o ../support/libsupport.a
|
| 5 |
25 |
julius |
|
| 6 |
|
|
basic-nocache: basic.o ../support/reset-nocache.o
|
| 7 |
52 |
julius |
$(OR32_TOOL_PREFIX)-gcc $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
|
| 8 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 9 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
| 10 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
| 11 |
25 |
julius |
|
| 12 |
|
|
basic-icdc: basic.o ../support/reset-icdc.o
|
| 13 |
52 |
julius |
$(OR32_TOOL_PREFIX)-gcc $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
|
| 14 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 15 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
| 16 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
| 17 |
25 |
julius |
|
| 18 |
|
|
basic-ic: basic.o ../support/reset-ic.o
|
| 19 |
52 |
julius |
$(OR32_TOOL_PREFIX)-gcc $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
|
| 20 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 21 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
| 22 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
| 23 |
25 |
julius |
|
| 24 |
|
|
basic-dc: basic.o ../support/reset-dc.o
|
| 25 |
52 |
julius |
$(OR32_TOOL_PREFIX)-gcc $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
|
| 26 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
| 27 |
45 |
julius |
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
| 28 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
| 29 |
25 |
julius |
|
| 30 |
|
|
basic.o: basic.S
|
| 31 |
52 |
julius |
$(OR32_TOOL_PREFIX)-gcc $(GCC_LIB_OPTS) -mhard-mul -O0 $? -c -o $@
|
| 32 |
25 |
julius |
|
© copyright 1999-2026
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.