URL
https://opencores.org/ocsvn/wdsp/wdsp/trunk
[/] [wdsp/] [trunk/] [sw/] [uart/] [Makefile] - Blame information for rev 9
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
5 |
parrado |
include ../support/Makefile.inc
|
2 |
|
|
cases = uart-nocache uart-icdc
|
3 |
|
|
common = ../support/libsupport.a ../support/except.o
|
4 |
|
|
|
5 |
|
|
all: $(cases)
|
6 |
|
|
|
7 |
|
|
uart-nocache: uart.o ../support/reset-nocache.o $(common)
|
8 |
|
|
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
|
9 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
10 |
|
|
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
11 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
uart-icdc: uart.o ../support/reset-icdc.o
|
15 |
|
|
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
|
16 |
|
|
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
|
17 |
|
|
../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
|
18 |
|
|
../utils/bin2vmem $@.bin > $@.vmem
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
uart.o: uart.c
|
22 |
|
|
$(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $? -c -o $@
|
23 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.