From fb79f8fb358f8df25674336cd558fc3998cb7d9e Mon Sep 17 00:00:00 2001 From: Mike Beattie Date: Tue, 31 Jul 2012 20:04:34 +1200 Subject: Don't build ao-stmload if stlink is not available. Signed-off-by: Mike Beattie --- ao-tools/ao-stmload/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ao-tools') diff --git a/ao-tools/ao-stmload/Makefile.am b/ao-tools/ao-stmload/Makefile.am index 375896ea..5aea7db4 100644 --- a/ao-tools/ao-stmload/Makefile.am +++ b/ao-tools/ao-stmload/Makefile.am @@ -1,3 +1,5 @@ +if LIBSTLINK + bin_PROGRAMS=ao-stmload LIBSTLINKDIR=/local/src/stlink @@ -9,3 +11,5 @@ ao_stmload_LDADD=$(LIBSTLINK_LIBS) $(LIBUSB_LIBS) -lelf ao_stmload_SOURCES=ao-stmload.c man_MANS = ao-stmload.1 + +endif -- cgit v1.2.3