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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [basic/] [Makefile] - Blame information for rev 50

Go to most recent revision | 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
 
5
 
6
basic-nocache: basic.o ../support/reset-nocache.o
7
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
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
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
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
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
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
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 ../support/libsupport.a
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 33 julius
        $(OR32_TOOL_PREFIX)-gcc -mhard-mul -O0 $? -c -o $@
32 25 julius
 
33
clean:
34
        rm -f *.o *.or32 *.log *.bin *.hex

powered by: WebSVN 2.1.0

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