Fix autogen.sh invocation of libjaylink 69/3569/3
authorMarc Schink <openocd-dev@marcschink.de>
Sun, 24 Jul 2016 11:06:33 +0000 (13:06 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 5 Nov 2016 20:40:18 +0000 (20:40 +0000)
Move autogen.sh invocation of libjaylink from the configure to the
bootstrap script because the configure script is included in tarball
releases but autotools are not required to be available on end-user
machines.

Thanks to Paul Fertser for spotting this.

Change-Id: I5489ae83885157a01803eed51a7328e47d67ea6d
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3569
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
bootstrap
configure.ac

index 3b60fc6e5d1f5f2ce9a271ab679a331bdfd55690..ad5e7bdd21503a64b657eee9048e1a25023665bd 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -39,5 +39,12 @@ else
     git submodule update
 fi
 
     git submodule update
 fi
 
+if [ -x src/jtag/drivers/libjaylink/autogen.sh ]; then
+    (
+    cd src/jtag/drivers/libjaylink
+    ./autogen.sh
+    )
+fi
+
 echo "Bootstrap complete. Quick build instructions:"
 echo "./configure ...."
 echo "Bootstrap complete. Quick build instructions:"
 echo "./configure ...."
index 1fcafe064e83235ea74f65d41061c8f554356fa2..52b2e964f7f40aee341d9c8712e37b744abee62e 100644 (file)
@@ -1186,7 +1186,6 @@ AM_CONDITIONAL([HLADAPTER], [test $enable_stlink != no -o $enable_ti_icdi != no]
 if test $enable_jlink != no; then
   if test $use_internal_libjaylink = yes; then
     if test -f "$srcdir/src/jtag/drivers/libjaylink/configure.ac"; then
 if test $enable_jlink != no; then
   if test $use_internal_libjaylink = yes; then
     if test -f "$srcdir/src/jtag/drivers/libjaylink/configure.ac"; then
-      ( cd $srcdir/src/jtag/drivers/libjaylink/ && ./autogen.sh )
       AX_CONFIG_SUBDIR_OPTION([src/jtag/drivers/libjaylink],
                [--enable-subproject-build])
     else
       AX_CONFIG_SUBDIR_OPTION([src/jtag/drivers/libjaylink],
                [--enable-subproject-build])
     else

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)