Make building cli, ncp, and examples optional. (#132)

By default, only core is built.  Added the following configure options:
--enable-cli
--enable-ncp
--with-examples=TARGET
This commit is contained in:
Jonathan Hui
2016-06-11 10:32:05 -07:00
committed by GitHub
parent 0a65eca0ab
commit e03396282e
7 changed files with 116 additions and 12 deletions
+4
View File
@@ -37,10 +37,14 @@ DIST_SUBDIRS = \
# Always build (e.g. for 'make all') these subdirectories.
if OPENTHREAD_EXAMPLES_POSIX
if OPENTHREAD_ENABLE_CLI
SUBDIRS = \
unit \
scripts \
$(NULL)
endif
endif
# Always pretty (e.g. for 'make pretty') these subdirectories.