[Libc] Disable ENV when disable DFS.

This commit is contained in:
Bernard Xiong 2018-11-09 09:18:05 +08:00
parent d1c177f48b
commit ad42abb933
1 changed files with 1 additions and 1 deletions

View File

@ -35,11 +35,11 @@ int libc_system_init(void)
libc_stdio_set_console(dev_console->parent.name, O_WRONLY); libc_stdio_set_console(dev_console->parent.name, O_WRONLY);
#endif #endif
} }
#endif
/* set PATH and HOME */ /* set PATH and HOME */
putenv("PATH=/bin"); putenv("PATH=/bin");
putenv("HOME=/home"); putenv("HOME=/home");
#endif
#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT #if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT
pthread_system_init(); pthread_system_init();