URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
Subversion Repositories s1_core
[/] [s1_core/] [trunk/] [tools/] [bin/] [clean_env] - Rev 109
Compare with Previous | Blame | View Log
#!/bin/bash
# This script cleans the environment in order to save disk space,
# so that all the remaining stuff can be easily added to a tarfile.
# Be careful! It also deletes all the results of simulations and
# synthesis, so at the end you will have to recompile everything
# (it acts like a "make clean").
test_var S1_ROOT
find $S1_ROOT -name ".svn" -exec rm -rf {} \;
find $S1_ROOT -name "*~" -exec rm -rf {} \;
find $S1_ROOT -name "#*#" -exec rm -rf {} \;
find $S1_ROOT -name "*.bin" -exec rm -rf {} \;
rm -rf $S1_ROOT/run/sim/icarus/*
rm -rf $S1_ROOT/run/sim/vcs/*
rm -rf $S1_ROOT/run/synth/fpga/*
rm -rf $S1_ROOT/run/synth/dc/*
rm -rf $S1_ROOT/run/synth/dc/.s*
rm -f $S1_ROOT/*s1*tar.gz