summaryrefslogtreecommitdiff
path: root/nuttx/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-20 14:18:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-20 14:18:08 -0600
commit0bbe7319da25f6efb2e40737b0b9044a086bbc67 (patch)
tree0c2874c7967bd445fb3556ff893fdeaec3464c61 /nuttx/Kconfig
parentc7f1128c566c6e7ce92f13ce3d10bd66de185520 (diff)
downloadnuttx-0bbe7319da25f6efb2e40737b0b9044a086bbc67.tar.gz
nuttx-0bbe7319da25f6efb2e40737b0b9044a086bbc67.tar.bz2
nuttx-0bbe7319da25f6efb2e40737b0b9044a086bbc67.zip
Add suppport for choice prompts and help text to the Kconfig documentation tool
Diffstat (limited to 'nuttx/Kconfig')
-rw-r--r--nuttx/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/Kconfig b/nuttx/Kconfig
index 7b98704bd..8bf8fadda 100644
--- a/nuttx/Kconfig
+++ b/nuttx/Kconfig
@@ -96,7 +96,8 @@ config APPS_DIR
the NuttX top build direcory. If you had an application
directory and the NuttX directory each in separate directory
trees like this:
-
+
+ <pre>
build
|-nuttx
| |
@@ -104,6 +105,7 @@ config APPS_DIR
`-application
|
`- Makefile
+ </pre>
Then you would set CONFIG_APPS_DIR=../application.
@@ -238,11 +240,13 @@ config ARCH_STDBOOL_H
However, that header includes logic to redirect the inclusion of an
architecture specific header file like:
+ <pre>
#ifdef CONFIG_ARCH_STDBOOL_H
# include <arch/stdbool.h>
#else
...
#endif
+ </pre>
Recall that that include path, include/arch, is a symbolic link and
will refer to a version of stdbool.h at nuttx/arch/<architecture>/include/stdbool.h.
@@ -259,9 +263,11 @@ config ARCH_MATH_H
will then include the architecture-specific version of math.h that you
must provide at nuttx/arch/>architecture</include/math.h.
+ <pre>
#ifdef CONFIG_ARCH_MATH_H
# include <arch/math.h>
#endif
+ </pre>
So for the architectures that define ARCH_MATH_H=y, include/math.h
will be the redirecting math.h header file; for the architectures