drivers/Makefile.am: Fix libjaylink integration

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>
gitignore-build
Marc Schink 2016-06-11 15:06:21 +02:00 committed by Paul Fertser
parent 37ed4751e8
commit efa90d0f78
1 changed files with 2 additions and 0 deletions

View 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