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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [except/] [Makefile] - Diff between revs 45 and 52

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 45 Rev 52
Line 1... Line 1...
include ../support/Makefile.inc
include ../support/Makefile.inc
all: except-nocache except-icdc
all: except-nocache except-icdc
 
 
except-nocache: except_test_s.o except_test.o
except-nocache: except_test_s.o except_test.o
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-nocache.o except_test_s.o except_test.o ../support/libsupport.a
        $(OR32_TOOL_PREFIX)-gcc -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-nocache.o except_test_s.o except_test.o ../support/libsupport.a
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
        ../utils/bin2vmem $@.bin > $@.vmem
        ../utils/bin2vmem $@.bin > $@.vmem
 
 
 
 
except-icdc: except_test_s.o except_test.o
except-icdc: except_test_s.o except_test.o
        $(OR32_TOOL_PREFIX)-gcc -Wall -g -nostdlib -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-icdc.o except_test_s.o except_test.o ../support/libsupport.a
        $(OR32_TOOL_PREFIX)-gcc -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div -T../support/orp.ld -o $@.or32 ../support/reset-icdc.o except_test_s.o except_test.o ../support/libsupport.a
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
        $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
        ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
        ../utils/bin2vmem $@.bin > $@.vmem
        ../utils/bin2vmem $@.bin > $@.vmem
 
 
 
 
except_test.o: except_test.c Makefile
except_test.o: except_test.c Makefile
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -O2 -c -o except_test.o except_test.c -Wall -g -nostdlib -mhard-div
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -O2 -c -o except_test.o except_test.c -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div
 
 
except_test_s.o: except_test_s.S Makefile
except_test_s.o: except_test_s.S Makefile
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except_test_s.o except_test_s.S -Wall -g -nostdlib -mhard-div
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except_test_s.o except_test_s.S -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div
 
 
except.o: except.S Makefile
except.o: except.S Makefile
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except.o except.S  -Wall -g -nostdlib -mhard-div
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except.o except.S  -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div
 
 
clean:
 
        rm -rf *.o *.bin *.hex *.srec *.or32 *.log stdout.txt
 
 
 
        $(OR32_TOOL_PREFIX)-gcc -I../support -g -c -o except.o except.S  -Wall -g $(GCC_OPT) $(GCC_LIB_OPTS) -mhard-div
 

powered by: WebSVN 2.1.0

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