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}
7
7
SKIP_OPENOCD=${SKIP_OPENOCD-0}
8
8
9
9
# 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
11
11
# RISC-V prerequisites
12
12
sudo 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
13
13
# RPi Only prerequisites
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ SKIP_PICOTOOL=${SKIP_PICOTOOL-0}
10
10
echo " Running on $( uname -m) "
11
11
12
12
# 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
14
14
if [[ $( 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
16
16
fi
17
17
# RISC-V prerequisites
18
18
echo " Listing local"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export LDFLAGS=-static
7
7
8
8
cd openocd
9
9
./bootstrap
10
- ./configure --disable-werror
10
+ ./configure --disable-werror --enable-internal-jimtcl
11
11
make clean
12
12
make
13
13
INSTALLDIR=" $PWD /../openocd-install/usr/local/bin"
@@ -19,5 +19,4 @@ cd $INSTALLDIR
19
19
if [[ $( uname -m) == ' aarch64' ]]; then
20
20
cp $( ldd openocd | egrep -o " (/.*/libgpiod\.so\.\S*)" ) ./
21
21
fi
22
- cp $( ldd openocd | egrep -o " (/.*/libjim\.so\.\S*)" ) ./
23
22
patchelf --set-rpath ' $ORIGIN' openocd
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cd openocd
7
7
./bootstrap
8
8
# See https://github.com/raspberrypi/openocd/issues/30
9
9
# ./configure --disable-werror CAPSTONE_CFLAGS="$(pkg-config capstone --cflags | sed s/.capstone\$//)"
10
- ./configure --disable-werror
10
+ ./configure --disable-werror --enable-internal-jimtcl
11
11
make clean
12
12
make
13
13
INSTALLDIR=" $PWD /../openocd-install-$( uname -m) /usr/local/bin"
You can’t perform that action at this time.
0 commit comments