Skip to content

Commit 136639f

Browse files
committed
Possible MacOS build fix
1 parent e8ae951 commit 136639f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/macos/openocd/build-openocd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -euo pipefail
55
cd openocd
66
sed -i '' -e 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
77

8+
git apply ../../packages/macos/openocd/parport.diff
9+
810
./bootstrap
911
# See https://github.com/raspberrypi/openocd/issues/30
1012
# ./configure --disable-werror CAPSTONE_CFLAGS="$(pkg-config capstone --cflags | sed s/.capstone\$//)"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
diff --git a/configure.ac b/configure.ac
2+
index c44d902d2c..3e1d9a2baa 100644
3+
--- a/configure.ac
4+
+++ b/configure.ac
5+
@@ -329,11 +329,14 @@ AC_ARG_ADAPTERS([
6+
JTAG_DPI_ADAPTER,
7+
JTAG_VPI_ADAPTER,
8+
RSHIM_ADAPTER,
9+
- AMTJTAGACCEL_ADAPTER,
10+
PCIE_ADAPTERS,
11+
LIBJAYLINK_ADAPTERS
12+
],[auto])
13+
14+
+AC_ARG_ADAPTERS([
15+
+ AMTJTAGACCEL_ADAPTER
16+
+ ],[no])
17+
+
18+
AC_ARG_ENABLE([parport],
19+
AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]),
20+
[build_parport=$enableval], [build_parport=no])

0 commit comments

Comments
 (0)