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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [uart/] [Makefile] - Blame information for rev 51

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

Line No. Rev Author Line
1 25 julius
include ../support/Makefile.inc
2
cases = uart-nocache uart-icdc
3
common = ../support/libsupport.a
4
 
5
all: $(cases)
6
 
7
uart-nocache: uart.o ../support/reset-nocache.o $(common)
8
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
9
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
10 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
11
        ../utils/bin2vmem $@.bin > $@.vmem
12 25 julius
 
13 45 julius
 
14 25 julius
uart-icdc: uart.o ../support/reset-icdc.o
15
        $(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
16
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
17 45 julius
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
18
        ../utils/bin2vmem $@.bin > $@.vmem
19 25 julius
 
20 45 julius
 
21 25 julius
uart.o: uart.c
22
        $(OR32_TOOL_PREFIX)-gcc -O2 $? -c -o $@
23
 
24
clean:
25
        rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt

powered by: WebSVN 2.1.0

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