3 then echo "Please run as root using 'sudo bash'"
7 runuser
$SUDO_USER --preserve-environment -c '
11 git clone https://git.libre-soc.org/git/ls2.git
12 git clone https://git.libre-soc.org/git/gram.git
13 git clone https://git.libre-soc.org/git/lambdasoc.git
14 git clone https://git.libre-soc.org/git/microwatt.git tercel-qspi
15 git clone https://github.com/freecores/uart16550
16 git clone https://github.com/freecores/ethmac
17 git clone https://github.com/alexforencich/verilog-wishbone
19 # verilog-wishbone checkout at specific tag
20 cd /home/$SUDO_USER/src/verilog-wishbone
24 cd /home/$SUDO_USER/src/lambdasoc
25 git tag | xargs git tag -d # very annoying
26 python3 setup.py develop
30 git tag | xargs git tag -d # very annoying
31 python3 setup.py develop
34 # does not need an "install"... yet.
40 \e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m