Do not build tools if --disable-tools is set (#813)

Do not build tools if --disable-tools is set
This commit is contained in:
Fabrice Fontaine
2016-10-27 12:55:21 -07:00
committed by Jonathan Hui
parent f3ebcff818
commit b385229ece
+2
View File
@@ -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.