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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [icm/] [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
all: icm-nocache icm-icdc icm-ic icm-dc
3 52 julius
common = ../support/except.o ../support/libsupport.a
4 25 julius
 
5
 
6
icm-nocache: icm.o ../support/reset-nocache.o
7 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
8 25 julius
        $(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 45 julius
 
13 25 julius
icm-icdc: icm.o ../support/reset-icdc.o
14 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
15 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
16 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
17
        ../utils/bin2vmem $@.bin > $@.vmem
18 25 julius
 
19 45 julius
 
20 25 julius
icm-ic: icm.o ../support/reset-ic.o
21 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
22 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
23 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
24
        ../utils/bin2vmem $@.bin > $@.vmem
25 25 julius
 
26 45 julius
 
27 25 julius
icm-dc: icm.o ../support/reset-dc.o
28 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
29 25 julius
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
30 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
31
        ../utils/bin2vmem $@.bin > $@.vmem
32 25 julius
 
33 45 julius
 
34 25 julius
icm.o: icm.S
35 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) -O0 $? -c -o $@
36 25 julius
 

powered by: WebSVN 2.1.0

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