From b385229ece02586d02a8e254b5d3575430e1faf6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 27 Oct 2016 21:55:21 +0200 Subject: [PATCH] Do not build tools if --disable-tools is set (#813) Do not build tools if --disable-tools is set --- tools/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index 9061abeea..252c7eb0a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -43,9 +43,11 @@ SUBDIRS = \ spinel-cli \ $(NULL) +if OPENTHREAD_BUILD_TOOLS if OPENTHREAD_TARGET_LINUX SUBDIRS += spi-hdlc-adapter endif +endif # OPENTHREAD_BUILD_TOOLS # Always pretty (e.g. for 'make pretty') these subdirectories.