BugID:23977317:add -lrt for linux yts
@@ -11,7 +11,7 @@ $(NAME)_CFLAGS += -Wall -Werror -Wno-unused-variable
ifneq (,$(findstring linux, $(BUILD_STRING)))
$(NAME)_COMPONENTS += lwip netmgr fatfs
-GLOBAL_LDFLAGS += -lreadline -lncurses
+GLOBAL_LDFLAGS += -lreadline -lncurses -lrt
GLOBAL_DEFINES += CONFIG_AOS_MESHYTS DEBUG YTS_LINUX
else
$(NAME)_COMPONENTS += cli
