mirror of
https://github.com/espressif/openthread.git
synced 2026-08-11 21:27:46 +00:00
[build] add SPINEL_ENCRYPTER_LIBS option to common switches (#5334)
This option allows to pass Spinel Encrypter library to predefined Makefiles for different platforms. Example usage: make -f examples/Makefile-nrf52840 SPINEL_ENCRYPTER_LIBS=my_encrypter_lib.a
This commit is contained in:
@@ -283,6 +283,10 @@ ifeq ($(OTNS),1)
|
||||
COMMONCFLAGS += -DOPENTHREAD_CONFIG_OTNS_ENABLE=1
|
||||
endif
|
||||
|
||||
ifneq ($(SPINEL_ENCRYPTER_LIBS),)
|
||||
configure_OPTIONS += --with-ncp-spinel-encrypter-libs=$(SPINEL_ENCRYPTER_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(FULL_LOGS),1)
|
||||
# HINT: Add more here, or comment out ones you do not need/want
|
||||
LOG_FLAGS += -DOPENTHREAD_CONFIG_LOG_LEVEL=OT_LOG_LEVEL_DEBG
|
||||
|
||||
Reference in New Issue
Block a user