Files
chipyard/.circleci/build-toolchains.sh
2019-06-23 22:47:23 -07:00

16 lines
328 B
Bash
Executable File

#!/bin/bash
# create the riscv tools/esp tools binaries
# passed in as <riscv-tools or esp-tools>
# turn echo on and error on earliest command
set -ex
if [ ! -d "$HOME/$1-install" ]; then
cd $HOME/
# init all submodules including the tools
CHIPYARD_DIR=$HOME/project ./project/scripts/build-toolchains.sh $1
fi