diff options
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r-- | apps/nshlib/nsh.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h index 23209dba5..3afbce8f9 100644 --- a/apps/nshlib/nsh.h +++ b/apps/nshlib/nsh.h @@ -403,6 +403,15 @@ # define IOBUFFERSIZE (PATH_MAX + 1) #endif +/* Certain commands are not availalbe in a kernel build because they depend + * on interfaces that are not exported by the kernel. + */ + +#ifdef CONFIG_NUTTX_KERNEL +# undef CONFIG_NSH_DISABLE_DF +# define CONFIG_NSH_DISABLE_DF 1 +#endif + /**************************************************************************** * Public Types ****************************************************************************/ |