From 4732e40637682a805956fd99832c151a9d4a691e Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 3 Jun 2025 10:34:29 +0200 Subject: [PATCH] configure: hide build issue of amt_jtagaccel driver by disabling it With commit d8a2f6dbcf5f ("configure.ac: show the Amontec JTAG-Accelerator driver in the config summary") the driver amt_jtagaccel is now build by default on Linux. This highlights the dependency of some include files, dependency that is not properly managed and that can cause build failure. The driver is queued to be dropped soon, so there is no real interest to fix the dependencies. Change the default so the driver is not built if the user does not require it at configure time. Change-Id: Ifb74e2c802abda290efbf59ca4ce02048c94e6f8 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8939 Reviewed-by: R. Diez Tested-by: jenkins --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c44d902d2..3e1d9a2ba 100644 --- a/configure.ac +++ b/configure.ac @@ -329,11 +329,14 @@ AC_ARG_ADAPTERS([ JTAG_DPI_ADAPTER, JTAG_VPI_ADAPTER, RSHIM_ADAPTER, - AMTJTAGACCEL_ADAPTER, PCIE_ADAPTERS, LIBJAYLINK_ADAPTERS ],[auto]) +AC_ARG_ADAPTERS([ + AMTJTAGACCEL_ADAPTER + ],[no]) + AC_ARG_ENABLE([parport], AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]), [build_parport=$enableval], [build_parport=no]) -- 2.49.0