drivers/Makefile.am: Fix libjaylink integration 29/3529/3
authorMarc Schink <openocd-dev@marcschink.de>
Sat, 11 Jun 2016 13:06:21 +0000 (15:06 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 5 Nov 2016 20:39:17 +0000 (20:39 +0000)
Include libjaylink in DIST_SUBDIRS only if J-Link driver is enabled.

Change-Id: Ib32bb6a5d8fe9bb6e93d968802733eb4973f2c25
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3529
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/jtag/drivers/Makefile.am

index 00d8371..c81c08e 100644 (file)
@@ -167,8 +167,10 @@ noinst_HEADERS = \
 
 DIST_SUBDIRS = usb_blaster
 
+if JLINK
 if INTERNAL_LIBJAYLINK
 DIST_SUBDIRS += libjaylink
 endif
+endif
 
 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in