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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [tlbtest/] [Makefile] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 hellwig
#
2
# Makefile for tlbtest ROM
3
#
4
 
5
BUILD = ../../build
6
 
7
TLBTEST_SRC = start.s main.c lib.c serial.s end.s
8
 
9
.PHONY:         all install run clean
10
 
11
all:            tlbtest.exo
12
 
13
install:        tlbtest.exo
14
 
15
tlbtest.exo:    tlbtest.bin
16 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 tlbtest.bin tlbtest.exo
17 14 hellwig
 
18
tlbtest.bin:    $(TLBTEST_SRC)
19
                $(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
20
                  -Wl-m -Wltlbtest.map -o tlbtest.bin $(TLBTEST_SRC)
21
 
22
run:            tlbtest.bin
23 245 hellwig
                $(BUILD)/bin/sim -i -s 1 -t 0 -r tlbtest.bin
24 14 hellwig
 
25
clean:
26
                rm -f *~
27
                rm -f tlbtest.map tlbtest.bin tlbtest.exo

powered by: WebSVN 2.1.0

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