687
edits
Changes
→Build and install riscv-openocd
== Build and install riscv-openocd ==
cd $HOME/src
git clone git@github.com:riscv/riscv-openocd.git
cd $HOME/src/riscv-openocd
# required by bootstrap
# brew install pkg-config libtool automake autoconf
./bootstrap
./configure --prefix=$HOME/xgcc --bindir=$HOME/bin --enable-remote-bitbang --enable-jtag_vpi
make -j8 && make install