BugID:19620416: Remove cli dependence in mqttapp's aos.mk
@@ -5,10 +5,14 @@ $(NAME)_VERSION := 1.0.0
$(NAME)_SUMMARY := mqtt examples
$(NAME)_SOURCES := app_entry.c
-$(NAME)_COMPONENTS := linkkit_sdk_c netmgr cjson cli
+$(NAME)_COMPONENTS := linkkit_sdk_c netmgr cjson
# MQTTAPP_CONFIG_TEST_LOOP ?= y
+ifneq ($(HOST_MCU_FAMILY),mcu_esp8266)
+$(NAME)_COMPONENTS += cli
+endif
+
ifeq ($(MQTTAPP_CONFIG_CASE_DEFAULT),y)
$(NAME)_SOURCES += mqtt_example.c
endif
