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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [syscall/] [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: syscall-nocache syscall-icdc
3 52 julius
## We define a special syscall vector for this test - no need to include
4
## the support library's except vectors
5
common = ../support/libsupport.a
6 25 julius
 
7
syscall-nocache: syscall.o ../support/reset-nocache.o
8 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
9 25 julius
        $(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
syscall-icdc: syscall.o ../support/reset-icdc.o
15 52 julius
        $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32 $(common)
16 25 julius
        $(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
syscall.o: syscall.S
22 52 julius
        $(OR32_TOOL_PREFIX)-gcc -O0 $(GCC_OPT) $? -I../support -c -o $@
23 25 julius
 

powered by: WebSVN 2.1.0

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