Skip to content

Commit 592e923

Browse files
Windows: Do not use FTD2xx drivers when building OpenOCD for Windows
Signed-off-by: Anton Kolesov <[email protected]>
1 parent d31ccfa commit 592e923

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

windows-installer/Makefile.openocd

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,14 @@ libusb_install/lib/libusb-1.0.a: libusb-$(LIBUSB_VERSION)
4646
$(MAKE) && \
4747
$(MAKE) install \
4848

49-
# ftd2xx directory must contains FTD2XX drivers. Process of their preparation
50-
# is not automated yet.
5149
openocd-config: openocd/Makefile
5250

53-
openocd/Makefile: libusb_install/lib/libusb-1.0.a ftd2xx openocd
51+
openocd/Makefile: libusb_install/lib/libusb-1.0.a openocd
5452
cd openocd && ./bootstrap
5553
cd openocd && \
5654
PKG_CONFIG_PATH=$(abspath libusb_install)/lib/pkgconfig \
5755
./configure --enable-ftdi --host=$(HOST) --disable-werror \
5856
--disable-shared --enable-static \
59-
--enable-legacy-ft2232_ftd2xx \
60-
--with-ftd2xx-win32-zipdir=$(abspath ftd2xx) \
6157
--prefix=$(INSTALL_DIR) \
6258
PKG_CONFIG=pkg-config
6359

@@ -68,7 +64,6 @@ openocd/src/openocd.exe: openocd/Makefile
6864

6965
openocd-install: openocd-build
7066
$(MAKE) -C openocd install install-pdf
71-
cp -a ftd2xx/i386/*.dll $(INSTALL_DIR)/bin
7267

7368
#
7469
# Clean

0 commit comments

Comments
 (0)