modify debug switch

This commit is contained in:
ethan.du 2020-02-05 16:45:47 +08:00
parent 8ab68cff7a
commit e10cc5dbcf
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ $(foreach v, \
include $(CURDIR)/tools/scripts/settings.mk
CFLAGS += -DFORCE_SSL_VERIFY -DENABLE_LOG_ERROR -DENABLE_LOG_WARN -DENABLE_LOG_INFO -DENABLE_LOG_DEBUG -lrt
CFLAGS += -DFORCE_SSL_VERIFY -DENABLE_LOG_ERROR -lrt
ifeq (debug,$(strip $(BUILD_TYPE)))
CFLAGS += -DENABLE_LOG_DEBUG -DENABLE_IOT_TRACE -lrt
endif