have toolchain script point to rebar correctly

This commit is contained in:
Abraham Gonzalez
2019-05-11 17:29:10 -07:00
parent e5d9f539c5
commit 2dbe087fce
2 changed files with 4 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ set -o pipefail
unamestr=$(uname)
RDIR=$(pwd)
: ${REBAR_DIR:=$(pwd)} #default value is the PWD unless overridden
if [ $# -ne 0 ]; then
TOOLCHAIN=$1
@@ -25,7 +26,7 @@ RISCV="$(pwd)/$INSTALL_DIR"
# install risc-v tools
export RISCV="$RISCV"
git submodule update --init --recursive toolchains/$TOOLCHAIN #--jobs 8
git -C $REBAR_DIR submodule update --init --recursive toolchains/$TOOLCHAIN #--jobs 8
cd "toolchains/$TOOLCHAIN"
export MAKEFLAGS="-j16"
./build.sh