forked from Github_Repos/cvw
fixes to installer script
This commit is contained in:
parent
59b770ad15
commit
70005c4c48
@ -1,15 +1,19 @@
|
|||||||
export RISCV=/opt/riscv
|
export RISCV=/opt/riscv
|
||||||
export PATH=$PATH:$RISCV/bin
|
export PATH=$PATH:$RISCV/bin
|
||||||
|
|
||||||
NUM_THREADS=4
|
set -e # break on error
|
||||||
|
|
||||||
|
NUM_THREADS=1
|
||||||
|
|
||||||
sudo mkdir -p $RISCV
|
sudo mkdir -p $RISCV
|
||||||
|
|
||||||
# UPDATE / UPGRADE
|
# UPDATE / UPGRADE
|
||||||
apt update
|
#apt update
|
||||||
|
|
||||||
# INSTALL
|
# INSTALL
|
||||||
apt install -y git gawk make texinfo bison flex build-essential python3 libz-dev libexpat-dev autoconf device-tree-compiler ninja-build libpixman-1-dev build-essential ncurses-base ncurses-bin libncurses5-dev dialog curl wget ftp libgmp-dev
|
#apt install -y git gawk make texinfo bison flex build-essential python3 libz-dev libexpat-dev autoconf device-tree-compiler ninja-build libpixman-1-dev build-essential ncurses-base ncurses-bin libncurses5-dev dialog curl wget ftp libgmp-dev
|
||||||
|
|
||||||
|
ln -sf /usr/bin/python3 /usr/bin/python # this is unforunate. gcc needs python but it looks specifically for python and not python3 or python2.
|
||||||
|
|
||||||
# gcc cross-compiler
|
# gcc cross-compiler
|
||||||
cd $RISCV
|
cd $RISCV
|
||||||
|
Loading…
Reference in New Issue
Block a user