Skip to content
Snippets Groups Projects
Commit cce73778 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added argument to support an optional RadioHDL tree. Default the trunk is used.

parent 9a1cbbd1
No related tags found
No related merge requests found
...@@ -23,7 +23,14 @@ ...@@ -23,7 +23,14 @@
# Only run this script once # Only run this script once
if [ -z "${RADIOHDL_SH}" ]; then if [ -z "${RADIOHDL_SH}" ]; then
export RADIOHDL_SH=true export RADIOHDL_SH=true
echo "Setup RadioHDL environment"
if [ ! $1 ]; then
radiohdltree="trunk"
echo "Setup RadioHDL environment for trunk"
else
radiohdltree=$1
echo "Setup RadioHDL environment for $1"
fi
# 1) Usage # 1) Usage
...@@ -32,10 +39,9 @@ echo "Setup RadioHDL environment" ...@@ -32,10 +39,9 @@ echo "Setup RadioHDL environment"
# 2) Setup # 2) Setup
export RSP=${SVN}/../Station/trunk/RSP export RSP=${SVN}/../Station/trunk/RSP
export UNB=${SVN}/UniBoard/trunk export UNB=${SVN}/UniBoard/trunk
export RADIOHDL=${SVN}/RadioHDL/trunk export RADIOHDL=${SVN}/RadioHDL/${radiohdltree}
export HDL_BUILD_DIR=${RADIOHDL}/build export HDL_BUILD_DIR=${RADIOHDL}/build
# Read generic functions/definitions # Read generic functions/definitions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment