mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix dependents of nsh_foreach_direntry
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
c34bbb9935
commit
fc8c425cc0
1 changed files with 7 additions and 2 deletions
|
|
@ -571,9 +571,14 @@
|
|||
# undef NSH_HAVE_READFILE
|
||||
#endif
|
||||
|
||||
/* nsh_foreach_direntry used by the ls and ps and fdinfo commands */
|
||||
/* nsh_foreach_direntry used by the commands:
|
||||
* ls, ps, fdinfo, rptun, pmconfig
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_NSH_DISABLE_LS) && defined(CONFIG_NSH_DISABLE_PS) && defined(CONFIG_NSH_DISABLE_FDINFO)
|
||||
#if defined(CONFIG_NSH_DISABLE_LS) && defined(CONFIG_NSH_DISABLE_PS) && \
|
||||
defined(CONFIG_NSH_DISABLE_FDINFO) && \
|
||||
defined(CONFIG_NSH_DISABLE_RPTUN) && \
|
||||
defined(CONFIG_NSH_DISABLE_PMCONFIG)
|
||||
# undef NSH_HAVE_FOREACH_DIRENTRY
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue