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