Skip to content

Commit 49f3640

Browse files
authored
Merge pull request syntacore#6 from syntacore/en-sc/drop-sc-ext
[syntacore] drop Syntacore extensions
2 parents dca6a29 + 70c5943 commit 49f3640

File tree

4 files changed

+0
-30
lines changed

4 files changed

+0
-30
lines changed

configure.ac

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,6 @@ AC_ARG_ENABLE([remote-bitbang],
402402
AS_HELP_STRING([--enable-remote-bitbang], [Enable building support for the Remote Bitbang driver]),
403403
[build_remote_bitbang=$enableval], [build_remote_bitbang=yes])
404404

405-
AC_ARG_ENABLE([syntacore-extensions],
406-
AS_HELP_STRING([--enable-syntacore-extensions], [Enable Syntacore extensions.]),
407-
[syntacore_extensions=$enableval], [syntacore_extensions=no])
408-
409405
AS_CASE(["${host_cpu}"],
410406
[i?86|x86*], [],
411407
[
@@ -649,13 +645,6 @@ AS_IF([test "x$enable_capstone" == xno], [
649645
AC_DEFINE([HAVE_CAPSTONE], [0], [0 if you don't have Capstone disassembly framework.])
650646
])
651647

652-
AS_IF([test "x$enable_syntacore_extensions" = xyes], [
653-
PKG_CHECK_MODULES([JANSSON], [jansson])
654-
AC_DEFINE([SYNTACORE_EXTENSIONS],[1], [1 if SYNTACORE_EXTENSIONS support is included.])
655-
], [
656-
AC_DEFINE([SYNTACORE_EXTENSIONS],[0], [0 if SYNTACORE_EXTENSIONS support is excluded.])
657-
])
658-
659648
for hidapi_lib in hidapi hidapi-hidraw hidapi-libusb; do
660649
PKG_CHECK_MODULES([HIDAPI],[$hidapi_lib],[
661650
use_hidapi=yes
@@ -746,7 +735,6 @@ AS_IF([test "x$enable_esp_usb_jtag" != "xno"], [
746735
])
747736

748737
AM_CONDITIONAL([RELEASE], [test "x$build_release" = "xyes"])
749-
AM_CONDITIONAL([SYNTACORE_RELEASE], [test "x$build_syntacore_release" = "xyes"])
750738
AM_CONDITIONAL([PARPORT], [test "x$build_parport" = "xyes"])
751739
AM_CONDITIONAL([GIVEIO], [test "x$parport_use_giveio" = "xyes"])
752740
AM_CONDITIONAL([EP93XX], [test "x$build_ep93xx" = "xyes"])
@@ -776,8 +764,6 @@ AM_CONDITIONAL([RSHIM], [test "x$build_rshim" = "xyes"])
776764
AM_CONDITIONAL([DMEM], [test "x$build_dmem" = "xyes"])
777765
AM_CONDITIONAL([HAVE_CAPSTONE], [test "x$enable_capstone" != "xno"])
778766

779-
AM_CONDITIONAL([SYNTACORE_EXTENSIONS], [test "x$enable_syntacore_extensions" = "xyes"])
780-
781767
AM_CONDITIONAL([HAVE_JIMTCL_PKG_CONFIG], [test "x$have_jimtcl_pkg_config" = "xyes"])
782768

783769
AM_CONDITIONAL([USE_GCOV], [test "x$enable_gcov" = "xyes"])

src/openocd.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
#include <server/gdb_server.h>
3434
#include <server/rtt_server.h>
3535

36-
#if SYNTACORE_EXTENSIONS
37-
#include <target/embargo/sc-ext/cmd.h>
38-
#endif
39-
4036
#ifdef HAVE_STRINGS_H
4137
#include <strings.h>
4238
#endif
@@ -251,9 +247,6 @@ static int (* const command_registrants[])(struct command_context *cmd_ctx_value
251247
cti_register_commands,
252248
dap_register_commands,
253249
arm_tpiu_swo_register_commands,
254-
#if SYNTACORE_EXTENSIONS
255-
&syntacore_extensions_register_commands,
256-
#endif
257250
};
258251

259252
static struct command_context *setup_command_handler(Jim_Interp *interp)
@@ -368,9 +361,6 @@ int openocd_main(int argc, char *argv[])
368361
/* free all DAP and CTI objects */
369362
arm_cti_cleanup_all();
370363
dap_cleanup_all();
371-
#if SYNTACORE_EXTENSIONS
372-
syntacore_extensions_cleanup();
373-
#endif
374364

375365
adapter_quit();
376366

src/target/Makefile.am

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,3 @@ include %D%/openrisc/Makefile.am
242242
include %D%/riscv/Makefile.am
243243
include %D%/xtensa/Makefile.am
244244
include %D%/espressif/Makefile.am
245-
246-
if SYNTACORE_EXTENSIONS
247-
include %D%/embargo/sc-ext/Makefile.am
248-
%C%_libtarget_la_LIBADD += %D%/embargo/sc-ext/libscext.la
249-
endif
250-

src/target/embargo/sc-ext/Makefile.am

Whitespace-only changes.

0 commit comments

Comments
 (0)