URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [sw/] [cust/] [Makefile] - Rev 37
Go to most recent revision | Compare with Previous | Blame | View Log
include ../support/Makefile.inc
cases = cust-nocache-O0 cust-nocache-O2 cust-ic-O0 cust-ic-O2 cust-dc-O0 cust-dc-O2 cust-icdc-O0 cust-icdc-O2
common = ../support/libsupport.a
all: $(cases)
cust-nocache-O0: cust-O0.o ../support/reset-nocache.o $(common)
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-nocache-O2: cust-O2.o ../support/reset-nocache.o $(common)
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-ic-O0: cust-O0.o ../support/reset-ic.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-ic-O2: cust-O2.o ../support/reset-ic.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-dc-O0: cust-O0.o ../support/reset-dc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-dc-O2: cust-O2.o ../support/reset-dc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-icdc-O0: cust-O0.o ../support/reset-icdc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-icdc-O2: cust-O2.o ../support/reset-icdc.o
$(OR32_TOOL_PREFIX)-ld -T ../support/orp.ld $? -o $@.or32 $(common)
$(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
../utils/bin2hex $@.bin > $@.hex
cust-O0.o: cust.c
$(OR32_TOOL_PREFIX)-gcc -O0 $? -c -o $@
cust-O2.o: cust.c
$(OR32_TOOL_PREFIX)-gcc -O2 $? -c -o $@
clean:
rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt
Go to most recent revision | Compare with Previous | Blame | View Log