URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
[/] [s1_core/] [trunk/] [tools/] [bin/] [tar_env] - Diff between revs 105 and 109
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 105 |
Rev 109 |
Line 2... |
Line 2... |
|
|
# This script makes a tarball of the S1 environment:
|
# This script makes a tarball of the S1 environment:
|
# you should call "clean_env" before calling this,
|
# you should call "clean_env" before calling this,
|
# otherwise you will get a huge file.
|
# otherwise you will get a huge file.
|
|
|
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
|
test_env S1_ROOT
|
if ! [ -d "$S1_ROOT" ]; then echo "***ERROR***: directory '$S1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
|
|
|
|
TARBALL=$HOME/simplyrisc-s1.tar
|
TARBALL=$HOME/simplyrisc-s1.tar
|
|
|
rm -f $TARBALL* $S1_ROOT/*.tar*
|
rm -f $TARBALL* $S1_ROOT/*.tar*
|
cd $S1_ROOT/..
|
cd $S1_ROOT/..
|
tar cvf $TARBALL `basename $S1_ROOT`
|
tar cvf $TARBALL `basename $S1_ROOT`
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.