Skip to content

Commit d224f46

Browse files
committed
Switch openocd back to internal jimtcl build
1 parent ed203d3 commit d224f46

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

build_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SKIP_RISCV=${SKIP_RISCV-0}
77
SKIP_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
1212
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
1313
# RPi Only prerequisites

build_macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ SKIP_PICOTOOL=${SKIP_PICOTOOL-0}
1010
echo "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
1414
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
1616
fi
1717
# RISC-V prerequisites
1818
echo "Listing local"

packages/linux/openocd/build-openocd.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export LDFLAGS=-static
77

88
cd openocd
99
./bootstrap
10-
./configure --disable-werror
10+
./configure --disable-werror --enable-internal-jimtcl
1111
make clean
1212
make
1313
INSTALLDIR="$PWD/../openocd-install/usr/local/bin"
@@ -19,5 +19,4 @@ cd $INSTALLDIR
1919
if [[ $(uname -m) == 'aarch64' ]]; then
2020
cp $(ldd openocd | egrep -o "(/.*/libgpiod\.so\.\S*)") ./
2121
fi
22-
cp $(ldd openocd | egrep -o "(/.*/libjim\.so\.\S*)") ./
2322
patchelf --set-rpath '$ORIGIN' openocd

packages/macos/openocd/build-openocd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
1111
make clean
1212
make
1313
INSTALLDIR="$PWD/../openocd-install-$(uname -m)/usr/local/bin"

0 commit comments

Comments
 (0)