Things that use mkfifo() and pipe() depend on CONFIG_PIPES

This commit is contained in:
Gregory Nutt
2016-07-20 10:46:05 -06:00
parent 1a6bb2a47c
commit 7d517413cb
9 changed files with 13 additions and 10 deletions

View File

@@ -297,7 +297,7 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0
# ifndef CONFIG_NSH_DISABLE_MKFIFO
# if defined(CONFIG_PIPES) && !defined(CONFIG_NSH_DISABLE_MKFIFO)
{ "mkfifo", cmd_mkfifo, 2, 2, "<path>" },
# endif
#endif