semihosting: add custom user command handler
[openocd.git] / bootstrap
1 #!/bin/sh
2 # Run the autotools bootstrap sequence to create the configure script
3
4 # Abort execution on error
5 set -e
6
7 if which libtoolize > /dev/null; then
8 libtoolize="libtoolize"
9 elif which glibtoolize >/dev/null; then
10 libtoolize="glibtoolize"
11 else
12 echo "$0: Error: libtool is required" >&2
13 exit 1
14 fi
15
16 if [ "$1" = "nosubmodule" ]; then
17 SKIP_SUBMODULE=1
18 elif [ -n "$1" ]; then
19 echo "$0: Illegal argument $1"
20 echo "USAGE: $0 [nosubmodule]"
21 exit 1
22 fi
23
24 # bootstrap the autotools
25 (
26 set -x
27 aclocal --warnings=all
28 # Apparently, not all versions of libtoolize support option --warnings=all .
29 ${libtoolize} --automake --copy
30 autoconf --warnings=all
31 autoheader --warnings=all
32 automake --warnings=all --gnu --add-missing --copy
33 )
34
35 if [ -n "$SKIP_SUBMODULE" ]; then
36 echo "Skipping submodule setup"
37 else
38 echo "Setting up submodules"
39 git submodule init
40 git submodule update
41 fi
42
43 if [ -x src/jtag/drivers/libjaylink/autogen.sh ]; then
44 (
45 cd src/jtag/drivers/libjaylink
46 ./autogen.sh
47 )
48 fi
49
50 echo "Bootstrap complete. Quick build instructions:"
51 echo "./configure ...."

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)