File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ SKIP_RISCV=${SKIP_RISCV-0}
77SKIP_OPENOCD=${SKIP_OPENOCD-0}
88
99# Install prerequisites
10- sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev libjim-dev patchelf
10+ sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev patchelf
1111# RISC-V prerequisites
1212sudo apt install -y autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev ninja-build git cmake libglib2.0-dev libslirp-dev
1313# RPi Only prerequisites
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ SKIP_PICOTOOL=${SKIP_PICOTOOL-0}
1010echo " Running on $( uname -m) "
1111
1212# Install prerequisites
13- arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi jimtcl --quiet
13+ arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi --quiet
1414if [[ $( uname -m) == ' arm64' ]]; then
15- arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi jimtcl --quiet
15+ arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi --quiet
1616fi
1717# RISC-V prerequisites
1818echo " Listing local"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export LDFLAGS=-static
77
88cd openocd
99./bootstrap
10- ./configure --disable-werror
10+ ./configure --disable-werror --enable-internal-jimtcl
1111make clean
1212make
1313INSTALLDIR=" $PWD /../openocd-install/usr/local/bin"
@@ -19,5 +19,4 @@ cd $INSTALLDIR
1919if [[ $( uname -m) == ' aarch64' ]]; then
2020 cp $( ldd openocd | egrep -o " (/.*/libgpiod\.so\.\S*)" ) ./
2121fi
22- cp $( ldd openocd | egrep -o " (/.*/libjim\.so\.\S*)" ) ./
2322patchelf --set-rpath ' $ORIGIN' openocd
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cd openocd
77./bootstrap
88# See https://github.com/raspberrypi/openocd/issues/30
99# ./configure --disable-werror CAPSTONE_CFLAGS="$(pkg-config capstone --cflags | sed s/.capstone\$//)"
10- ./configure --disable-werror
10+ ./configure --disable-werror --enable-internal-jimtcl
1111make clean
1212make
1313INSTALLDIR=" $PWD /../openocd-install-$( uname -m) /usr/local/bin"
You can’t perform that action at this time.
0 commit comments