aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Mills <43148204+sifivekevin@users.noreply.github.com>2021-09-14 08:31:53 -0700
committerGitHub <noreply@github.com>2021-09-14 08:31:53 -0700
commit41ffb2dee645834c71b8ebda4cacf9187b3fe686 (patch)
treebc84ce51c53ddcb902c8c0bc0630427ee3966b83
parent8bb47b6b1bbe41c139e20df0234ded026a7a31ef (diff)
downloadriscv-openocd-41ffb2dee645834c71b8ebda4cacf9187b3fe686.zip
riscv-openocd-41ffb2dee645834c71b8ebda4cacf9187b3fe686.tar.gz
riscv-openocd-41ffb2dee645834c71b8ebda4cacf9187b3fe686.tar.bz2
Support more socket connections on Windows (#644)
* rename and cleanup, add tiny-h-cjtag - rename and cleanup to arm-usb-ocd-h-cjtag file to be consistent - add copy of olimex-arm-jtag-cjtag.cfg as arm-usb-tiny-h-cjtag.cfg - did not remove olimex-arm-jtag-cjtag.cfg (should be deprecated) * lets try this... Revert "let's try this..." This reverts commit a9326e4493405356984e8681c577eb5bd476dd89. Tell Windows/winsock2 to use up to 128 sockets.
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f63bbe5..5c625de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,14 +31,16 @@ DIST_SUBDIRS += jimtcl
endif
# common flags used in openocd build
-AM_CFLAGS = $(GCC_WARNINGS)
+AM_CFLAGS = $(GCC_WARNINGS)\
+ -DFD_SETSIZE=128
AM_CPPFLAGS = $(HOST_CPPFLAGS)\
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/src/helper \
-DPKGDATADIR=\"$(pkgdatadir)\" \
- -DBINDIR=\"$(bindir)\"
+ -DBINDIR=\"$(bindir)\"\
+ -DFD_SETSIZE=128
if INTERNAL_JIMTCL
AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \