MDIO R/W 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/libbase && make clean
10 cd $BASEDIR/software/libmath && make clean
11 cd $BASEDIR/software/libhal && make clean
12 cd $BASEDIR/software/libnet && make clean
13 cd $BASEDIR/software/bios && make clean
14 cd $BASEDIR/software/demo && make clean
15
16 cd $BASEDIR/boards/xilinx-ml401/synthesis && make -f common.mak clean
17 cd $BASEDIR/boards/milkymist-one/synthesis && make -f common.mak clean
18
19 cd $BASEDIR/doc && make clean
20 for i in $COREDOC; do
21         cd $BASEDIR/cores/$i/doc && make clean
22 done 
23
24 cd $BASEDIR/cores/pfpu
25 ./cleanroms.sh
26
27 cd $BASEDIR
28
29 rm -f tools.log software.log synthesis.log doc.log load.log biosflash.log bitflash.log