Clean up I$ and D$ initialization a bit
[yari.git] / shared / shared.mk
blob021aaf950bf68a9090391d4a10347cc39b5203f7
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
15 all: rtl/config.h rtl/icache_ram0.mif
17 rtl/config.h: $(MAKECONFIG) default.conf
18 cd rtl; ../$(MAKECONFIG) ../default.conf
20 # XXX we'll make this MUCH better in future
21 rtl/icache_ram0.mif: $(TOPDIR)/shared/rtl/initmem.mif
22 cp $< $@