Skip to content

Commit 359e065

Browse files
committed
Fix sed on MacOS, and possibly fix jimtcl on Windows
1 parent bd28ea4 commit 359e065

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

build_macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SKIP_RISCV=${SKIP_RISCV-0}
77
SKIP_OPENOCD=${SKIP_OPENOCD-0}
88

99
# Install prerequisites
10-
arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi jimtcl --quiet
11-
arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi jimtcl --quiet
10+
arch -x86_64 /usr/local/bin/brew install jq libtool libusb automake hidapi jimtcl gnu-sed --quiet
11+
arch -arm64 /opt/homebrew/bin/brew install jq libtool libusb automake hidapi jimtcl gnu-sed --quiet
1212
# RISC-V prerequisites
1313
echo "Listing local"
1414
ls /usr/local/bin

packages/macos/openocd/build-openocd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44

55
cd openocd
6-
sed -i 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
6+
gnu-sed -i 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
77

88
./bootstrap
99
# See https://github.com/raspberrypi/openocd/issues/30

packages/windows/openocd/build-openocd.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,10 @@ BUILDDIR=$(pwd)
66
INSTALLDIR="openocd-install"
77

88
cd openocd
9-
109
sed -i 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
1110

12-
cd jimtcl
13-
./configure
14-
make
15-
make install
16-
cd ..
17-
1811
./bootstrap
19-
./configure --disable-werror
12+
./configure --disable-werror --enable-internal-jimtcl
2013
make clean
2114
make
2215
DESTDIR="$BUILDDIR/$INSTALLDIR" make install

0 commit comments

Comments
 (0)