mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 00:57:47 +00:00
add checks into cc2538 makefile to support enabling cli-logging, commissioner and joiner (#693)
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -103,7 +103,7 @@ endif
|
||||
ifeq ($(DEBUG),1)
|
||||
configure_OPTIONS += --enable-debug --enable-optimization=no
|
||||
else
|
||||
configure_OPTIONS +=
|
||||
configure_OPTIONS +=
|
||||
endif
|
||||
|
||||
ifndef BuildJobs
|
||||
|
||||
Reference in New Issue
Block a user