7271bf2c6dc17ba12f3d70f82617e535453b5d80
[openocd.git] / testing / build.test1 / Makefile
1 # -*- mode: makefile -*-
2 #
3 default: _complain_
4 include ./local.uses
5
6 %: _complain_
7
8
9 _complain_:
10 @echo ""
11 @echo " Try the target: cygwin.buildtest or linux.buildtest "
12 @echo ""
13
14 remove.install:
15 rm -rf ${INSTALL_DIR}
16
17 .PHONY: remove.install
18
19 cygwin.buildtest:
20 ${MAKE} -f Makefile.ftd2xx clean all
21 ${MAKE} -f Makefile.openocd cygwin.easy.permutations
22 ${MAKE} -f Makefile.openocd mingw32.easy.permutations
23 ${MAKE} -f Makefile.libftdi all
24 ${MAKE} -f Makefile.openocd cygwin.libftdi
25
26 linux.buildtest:
27 ${MAKE} linux.easy.buildtest
28 ${MAKE} linux.ftd2xx_installed
29 ${MAKE} linux.ft2232_libftdi
30 @echo ""
31 @echo ""
32 @echo "========================================"
33 @echo " Linux Build Tests Complete "
34 @echo "========================================"
35 @echo ""
36 @echo ""
37
38
39 linux.easy.buildtest:
40 @test -d openocd || (echo "Where the source to openocd?" && exit 1)
41 ${MAKE} -f Makefile.openocd bootstrap
42 ${MAKE} -f Makefile.ftd2xx all
43 ${MAKE} -f Makefile.openocd linux.easy.permutations
44
45 linux.ftd2xx_installed:
46 ${MAKE} remove.install
47 ${MAKE} linux.ftd2xx_installed.setup
48 ${MAKE} -f Makefile.openocd $@
49
50 linux.ft2232_libftdi:
51 ${MAKE} remove.install
52 ${MAKE} -f Makefile.libusb all
53 ${MAKE} -f Makefile.confuse all
54 ${MAKE} -f Makefile.libftdi all
55 ${MAKE} -f Makefile.openocd $@
56
57 # This target is used to "install" files from
58 # the FTDICHIP.COM tar.gz unpack directory
59 # into "a proper place" - where they should be found.
60 linux.ftd2xx_installed.setup:
61 mkdir -p ${INSTALL_DIR}/include
62 mkdir -p ${EXEC_PREFIX}/lib
63 @#
64 @# Sanity check - make sure the .H file is findable
65 @#
66 @f=$(FTD2XX_LINUX_DIR)/ftd2xx.h && \
67 test -f $$f || (echo "Error: $$f not found" ; exit 1)
68 @#
69 @# Header files are simple... just copy them.
70 @#
71 cp $(FTD2XX_LINUX_DIR)/ftd2xx.h $(PREFIX)/include/.
72 cp $(FTD2XX_LINUX_DIR)/WinTypes.h $(PREFIX)/include/.
73 @#
74 @# .SO files are harder.
75 @# (1) copy them, (2) make links
76 @#
77 cp $(FTD2XX_LINUX_DIR)/libftd2xx.so.$(FTD2XX_LINUX_VERSION) $(EXEC_PREFIX)/lib/.
78 cd $(EXEC_PREFIX)/lib && rm -f libftd2xx.so.0
79 cd $(EXEC_PREFIX)/lib && ln -s libftd2xx.so.$(FTD2XX_LINUX_VERSION) libftd2xx.so.0
80 cd $(EXEC_PREFIX)/lib && rm -f libftd2xx.so
81 cd $(EXEC_PREFIX)/lib && ln -s libftd2xx.so.$(FTD2XX_LINUX_VERSION) libftd2xx.so
82
83
84 all.download:
85 mkdir -p ${VIRGINS}
86 ${MAKE} -f Makefile.confuse download
87 ${MAKE} -f Makefile.libftdi download
88 ${MAKE} -f Makefile.ftd2xx download
89 ${MAKE} -f Makefile.libusb download
90
91 .PHONY: linux.buildtest \
92 linux.easy.buildtest \
93 linux.ftd2xx_installed \
94 linux.ft22232_libftdi \
95 linux.ftd2xx_installed.setup
96
97
98

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)