[build] option to disable executable build (#3391)

This commit is contained in:
Jiacheng Guo
2018-12-24 15:10:30 -08:00
committed by Jonathan Hui
parent 35eaaab653
commit 52c06c6858
4 changed files with 40 additions and 0 deletions
+2
View File
@@ -40,6 +40,7 @@ DIST_SUBDIRS = \
SUBDIRS = \
$(NULL)
if OPENTHREAD_ENABLE_EXECUTABLE
if OPENTHREAD_ENABLE_CLI
SUBDIRS += cli
endif
@@ -47,6 +48,7 @@ endif
if OPENTHREAD_ENABLE_NCP
SUBDIRS += ncp
endif
endif
# Always pretty (e.g. for 'make pretty') these subdirectories.