aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@mit.edu>2011-08-25 13:29:33 -0700
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-09-02 16:50:01 +0200
commit1411ad11c182d02769bb0954f7f5b01d66652a6b (patch)
treef8388ffdd507b81b5bbcaa431a0ce6153dde4604 /configure.ac
parent48e8d2d21c2f7c19a7d6616115f06fef99203d7e (diff)
downloadriscv-openocd-1411ad11c182d02769bb0954f7f5b01d66652a6b.zip
riscv-openocd-1411ad11c182d02769bb0954f7f5b01d66652a6b.tar.gz
riscv-openocd-1411ad11c182d02769bb0954f7f5b01d66652a6b.tar.bz2
Implementation of a new jtag remote_bitbang driver.
The driver sends ascii encoded bitbang commands over unix sockets or TCP to another process. This driver is useful for debugging software running on processors which are being simulated.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b6c04ab..ec51bd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,6 +498,10 @@ if test $build_zy1000 = yes; then
fi
AC_MSG_RESULT($build_zy1000)
+AC_ARG_ENABLE(remote-bitbang,
+ AS_HELP_STRING([--enable-remote-bitbang], [Enable building support for the Remote Bitbang jtag driver]),
+ [build_remote_bitbang=$enableval], [build_remote_bitbang=no])
+
AC_MSG_CHECKING([whether to enable dummy minidriver])
if test $build_minidriver_dummy = yes; then
@@ -778,6 +782,13 @@ if test "$use_internal_jimtcl" = yes; then
fi
fi
+if test $build_remote_bitbang = yes; then
+ build_bitbang=yes
+ AC_DEFINE(BUILD_REMOTE_BITBANG, 1, [1 if you want the Remote Bitbang JTAG driver.])
+else
+ AC_DEFINE(BUILD_REMOTE_BITBNAG, 0, [0 if you don't want the Remote Bitbang JTAG driver.])
+fi
+
#-- Deal with MingW/Cygwin FTD2XX issues
if test $is_win32 = yes; then
@@ -1075,6 +1086,7 @@ AM_CONDITIONAL(VSLLINK, test $build_vsllink = yes)
AM_CONDITIONAL(RLINK, test $build_rlink = yes)
AM_CONDITIONAL(ULINK, test $build_ulink = yes)
AM_CONDITIONAL(ARMJTAGEW, test $build_armjtagew = yes)
+AM_CONDITIONAL(REMOTE_BITBANG, test $build_remote_bitbang = yes)
AM_CONDITIONAL(BUSPIRATE, test $build_buspirate = yes)
AM_CONDITIONAL(USB, test $build_usb = yes)
AM_CONDITIONAL(IS_CYGWIN, test $is_cygwin = yes)