URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 14 |
Rev 39 |
#
|
#
|
# Makefile for dsptest ROM
|
# Makefile for dsptest ROM
|
#
|
#
|
|
|
BUILD = ../../build
|
BUILD = ../../build
|
|
|
DSPTEST_SRC = start.s main.c lib.c serial.s end.s
|
DSPTEST_SRC = start.s main.c lib.c serial.s end.s
|
|
|
.PHONY: all install run clean
|
.PHONY: all install run clean
|
|
|
all: dsptest.exo
|
all: dsptest.exo
|
|
|
install: dsptest.exo
|
install: dsptest.exo
|
|
|
dsptest.exo: dsptest.bin
|
dsptest.exo: dsptest.bin
|
$(BUILD)/bin/bin2exo 0 dsptest.bin dsptest.exo
|
$(BUILD)/bin/bin2exo -S2 0 dsptest.bin dsptest.exo
|
|
|
dsptest.bin: $(DSPTEST_SRC)
|
dsptest.bin: $(DSPTEST_SRC)
|
$(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
|
$(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
|
-Wl-m -Wldsptest.map -o dsptest.bin $(DSPTEST_SRC)
|
-Wl-m -Wldsptest.map -o dsptest.bin $(DSPTEST_SRC)
|
|
|
run: dsptest.bin
|
run: dsptest.bin
|
$(BUILD)/bin/sim -i -c -r dsptest.bin
|
$(BUILD)/bin/sim -i -c -r dsptest.bin
|
|
|
clean:
|
clean:
|
rm -f *~
|
rm -f *~
|
rm -f dsptest.map dsptest.bin dsptest.exo
|
rm -f dsptest.map dsptest.bin dsptest.exo
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.