rebuild_tree 683 Bytes
#!/bin/sh

cd ..
BBPATH=`pwd`
dels=`ls | grep -v  tests | grep -v CVS`

for i in $dels
do
    rm -rf $i
done
cvs update -df 

# del hw tree also
cd ../../../hw
rm -rf chip
cvs update -df

#delete lib also
cd ../lib
rm -rf lib*
cvs update -df

cd ${BBPATH}
cd ../..
./mklinks bcp
cd ${BBPATH}

# Build header files
cd ${BBPATH}/include
make headers

# Build PLI
cd ${BBPATH}/lib/libbcppli 
make 

# Build iosim
cd ${BBPATH}/iosim/src
make

# Build tools for dp vi and sp
cd  ${BBPATH}/rspasm1201
make

cd ${BBPATH}/rspsim
make

cd ${BBPATH}/tools/data
make install

cd ${BBPATH}/rdpsim/tools
make install

cd  ${BBPATH}/rdpsim/backend
make install

cd ${BBPATH}/rdpsim/pli
make