summaryrefslogtreecommitdiff
path: root/ao-tools
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools')
-rw-r--r--ao-tools/ao-stmload/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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