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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [dhry/] [Makefile] - Blame information for rev 54

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
#ADDED BY ME
3
cases = dhry-nocache-O0 dhry-nocache-O2 dhry-icdc-O2
4
#common = ../support/libsupport.a
5 52 julius
common = ../support/libsupport.a ../support/except.o
6 25 julius
 
7
all: $(cases)
8
 
9
dhry-nocache-O0: dhry-O0.o ../support/reset-nocache.o $(common)
10 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
11 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
12 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
13
        ../utils/bin2vmem $@.bin > $@.vmem
14 25 julius
 
15 45 julius
 
16 25 julius
dhry-nocache-O2: dhry-O2.o ../support/reset-nocache.o $(common)
17 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
18 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
19 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
20
        ../utils/bin2vmem $@.bin > $@.vmem
21 25 julius
 
22 45 julius
 
23 25 julius
dhry-icdc-O2: dhry-O2.o ../support/reset-icdc.o $(common)
24 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
25 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
26 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
27
        ../utils/bin2vmem $@.bin > $@.vmem
28 25 julius
 
29 45 julius
 
30 25 julius
dhry-O0.o: dhry.c
31 52 julius
        $(OR32_TOOL_PREFIX)-gcc -I../support -O0 $(GCC_OPT) $? -mhard-div -c -o $@
32 25 julius
 
33
dhry-O2.o: dhry.c
34 52 julius
        $(OR32_TOOL_PREFIX)-gcc -I../support -O2 $(GCC_OPT) $? -mhard-div -c -o $@

powered by: WebSVN 2.1.0

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