Skip to content

Commit 550c2fa

Browse files
committed
Further fixes to install scripts
1 parent c6430e1 commit 550c2fa

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

scripts/get-env.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ sudo apt-get install -y build-essential
7474
)
7575

7676
# Get misoc
77-
git clone https://github.com/m-labs/misoc.git
77+
(
78+
git clone https://github.com/m-labs/misoc.git
79+
cd misoc
80+
git submodule init
81+
git submodule update
82+
)
7883

7984
# Get libfpgalink
8085
(
@@ -89,5 +94,6 @@ git clone https://github.com/m-labs/misoc.git
8994

9095
sudo apt-get install -y gtkwave
9196

92-
echo "Completed. Run scripts/setup-env.sh to load environment"
97+
echo "Completed. To load environment:"
98+
echo "source HDMI2USB-misoc-firmware/scripts/setup-env.sh"
9399

scripts/setup-env.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if [ ! -z $MISOC_ENV ]; then
2020
exit 1
2121
fi
2222

23-
export LD_LIBRARY_PATH=$TOP_DIR/makestuff/libs/libfpgalink/lin.x64/rel:$LD_LIBRARY_PATH
24-
export PYTHONPATH=$TOP_DIR/migen:$TOP_DIR/misoc:$TOP_DIR/makestuff/libs/libfpgalink/examples/python/:$PYTHONPATH
23+
export LD_LIBRARY_PATH=$TOP_DIR/../makestuff/libs/libfpgalink/lin.x64/rel:$LD_LIBRARY_PATH
24+
export PYTHONPATH=$TOP_DIR/migen:$TOP_DIR/misoc:$TOP_DIR/../makestuff/libs/libfpgalink/examples/python/:$PYTHONPATH
2525
export PATH=$TOP_DIR/gnu/output/bin:$PATH
2626

2727
alias python=python3

0 commit comments

Comments
 (0)