Removed ML401 support
[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/milkymist-one/synthesis && make -f common.mak clean
22 cd $BASEDIR/boards/milkymist-one/flash && make clean
23
24 cd $BASEDIR/doc && make clean
25 for i in $COREDOC; do
26         cd $BASEDIR/cores/$i/doc && make clean
27 done 
28
29 cd $BASEDIR/cores/pfpu
30 ./cleanroms.sh
31
32 cd $BASEDIR
33
34 rm -f tools.log software.log synthesis.log doc.log load.log