summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-29 14:47:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-29 14:47:22 -0600
commit64892e44f2ce2612c77b1b20497fb007adafafb8 (patch)
tree2c917f29727a017b85193ac85959663d504b26e5 /apps/nshlib/nsh.h
parentc48af0eb9c61462f59a7ba63ca7a73e8df146f49 (diff)
downloadpx4-nuttx-64892e44f2ce2612c77b1b20497fb007adafafb8.tar.gz
px4-nuttx-64892e44f2ce2612c77b1b20497fb007adafafb8.tar.bz2
px4-nuttx-64892e44f2ce2612c77b1b20497fb007adafafb8.zip
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index 23b030072..a17b0a901 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -546,11 +546,11 @@
# define IOBUFFERSIZE (PATH_MAX + 1)
#endif
-/* Certain commands are not availalbe in a kernel build because they depend
+/* Certain commands are not available in a kernel builds because they depend
* on interfaces that are not exported by the kernel.
*/
-#ifdef CONFIG_NUTTX_KERNEL
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
# undef CONFIG_NSH_DISABLE_DF
# define CONFIG_NSH_DISABLE_DF 1
#endif