diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-07 01:52:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-07 01:52:30 +0000 |
commit | ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3 (patch) | |
tree | 425cec7640f89663994f2a3646ca35e54db91df6 /apps/nshlib/nsh.h | |
parent | 5332fb0e659549272ed5527c26964b22d31da3bc (diff) | |
download | nuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.tar.gz nuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.tar.bz2 nuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.zip |
More LPC1788 changes from Rommel Marcelo + a few kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3
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 ****************************************************************************/ |