netutils/mqttc: Add mbedtls configs.
MIIO-62724 Signed-off-by: LiShuzhen <lishuzhen@xiaomi.com>
This commit is contained in:
parent
6f01a3b3d4
commit
4eda9bda8f
@ -11,6 +11,10 @@ config NETUTILS_MQTTC
|
||||
|
||||
if NETUTILS_MQTTC
|
||||
|
||||
config NETUTILS_MQTTC_WITH_MBEDTLS
|
||||
bool "Enable MQTT-C with mbedtls"
|
||||
default n
|
||||
|
||||
config NETUTILS_MQTTC_VERSION
|
||||
string "MQTT-C Version"
|
||||
default "1.1.5"
|
||||
|
@ -26,4 +26,8 @@ CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \
|
||||
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \
|
||||
$(APPDIR)/netutils/mqttc/MQTT-C/include}
|
||||
|
||||
ifneq ($(CONFIG_NETUTILS_MQTTC_WITH_MBEDTLS),)
|
||||
CFLAGS += -DMQTT_USE_MBEDTLS
|
||||
endif
|
||||
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user