1 # -----------------------------------------------------------------------
3 # Copyright 2010 Tommy Thorn - All Rights Reserved
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 # Bostom MA 02111-1307, USA; either version 2 of the License, or
9 # (at your option) any later version; incorporated herein by reference.
11 # -----------------------------------------------------------------------
13 MAKECONFIG
=$(TOPDIR
)/shared
/tools
/makeconfig.sh
14 YARISIM ?
= $(TOPDIR
)/shared
/yarisim
/yarisim
15 FIRMWARE ?
= tinymon.mips
17 all: rtl
/config.h rtl
/icache_ram0.mif
19 rtl
/config.h
: $(MAKECONFIG
) default.conf
20 cd rtl
; ..
/$(MAKECONFIG
) ..
/default.conf
22 rtl
/icache_ram0.mif
: tinymon.mips
$(YARISIM
)
23 cd rtl
; ..
/$(YARISIM
) \
25 --icache-way
=$(IC_LINE_INDEX_BITS
) \
26 --icache-words
=$(IC_WORD_INDEX_BITS
) \
27 --dcache-way
=$(DC_LINE_INDEX_BITS
) \
28 --dcache-words
=$(DC_WORD_INDEX_BITS
) \
32 $(MAKE
) -C
$(TOPDIR
)/shared
/yarisim