BIOS starting on M1, SDRAM not working
[mw/milkymist.git] / clean_all.sh
1 #!/bin/bash
2
3 BASEDIR=`pwd`
4
5 source $BASEDIR/coredoc.inc
6
7 cd $BASEDIR/tools && make clean
8
9 cd $BASEDIR/software/libhpdmc && make clean
10 cd $BASEDIR/software/libbase && make clean
11 cd $BASEDIR/software/libmath && make clean
12 cd $BASEDIR/software/libhal && make clean
13 cd $BASEDIR/software/libfpvm && make clean
14 cd $BASEDIR/software/libfpvm/x86-linux && make clean
15 cd $BASEDIR/software/libfpvm/lm32-linux && make clean
16 cd $BASEDIR/software/libfpvm/lm32-rtems && make clean
17 cd $BASEDIR/software/libnet && make clean
18 cd $BASEDIR/software/bios && make clean
19 cd $BASEDIR/software/demo && make clean
20
21 cd $BASEDIR/boards/xilinx-ml401/synthesis && make -f common.mak clean
22 cd $BASEDIR/boards/milkymist-one/synthesis && make -f common.mak clean
23 cd $BASEDIR/boards/milkymist-one/flash && make clean
24
25 cd $BASEDIR/doc && make clean
26 for i in $COREDOC; do
27         cd $BASEDIR/cores/$i/doc && make clean
28 done 
29
30 cd $BASEDIR/cores/pfpu
31 ./cleanroms.sh
32
33 cd $BASEDIR
34
35 rm -f tools.log software.log synthesis.log doc.log load.log biosflash.log bitflash.log