add checks into cc2538 makefile to support enabling cli-logging, commissioner and joiner (#693)

This commit is contained in:
Buke Po
2016-09-26 21:54:36 -07:00
committed by Jonathan Hui
parent b851e9213f
commit fc20a0fe3e
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -49,6 +49,18 @@ configure_OPTIONS = \
--with-platform-info=CC2538 \
$(NULL)
ifeq ($(CLI_LOGGING),1)
configure_OPTIONS += --enable-cli-logging
endif
ifeq ($(COMMISSIONER),1)
configure_OPTIONS += --enable-commissioner
endif
ifeq ($(JOINER),1)
configure_OPTIONS += --enable-joiner
endif
COMMONCFLAGS := \
-fdata-sections \
-ffunction-sections \
+1 -1
View File
@@ -103,7 +103,7 @@ endif
ifeq ($(DEBUG),1)
configure_OPTIONS += --enable-debug --enable-optimization=no
else
configure_OPTIONS +=
configure_OPTIONS +=
endif
ifndef BuildJobs