[Kernel] Add more setting checking for RT_USING_POSIX.
#if !defined(RT_USING_DFS) || !defined(RT_USING_DFS_DEVFS)
#error "POSIX poll/select, stdin need file system(RT_USING_DFS) and device file system(RT_USING_DFS_DEVFS)"
#endif
+
+#if defined(RT_USING_LWIP) && !defined(RT_USING_DFS_NET)
+#error "POSIX poll/select, stdin need file BSD socket API(RT_USING_DFS_NET)"
+#endif
+
+#if !defined(RT_USING_LIBC)
+#error "POSIX layer need standard C library(RT_USING_LIBC)"
+#endif
+
#endif
#ifdef RT_USING_POSIX_TERMIOS
