summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 17:20:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 17:20:19 +0000
commit291dd23da13557097ec86d3899a16c8548d2ebd2 (patch)
treed66089490b6d6a874d87f9a401e857f4872be187 /nuttx/lib
parent58b3f22d812ecc73e8658679638b4ef772dd9210 (diff)
downloadnuttx-291dd23da13557097ec86d3899a16c8548d2ebd2.tar.gz
nuttx-291dd23da13557097ec86d3899a16c8548d2ebd2.tar.bz2
nuttx-291dd23da13557097ec86d3899a16c8548d2ebd2.zip
Add Kconfig settings for the LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/Kconfig68
1 files changed, 0 insertions, 68 deletions
diff --git a/nuttx/lib/Kconfig b/nuttx/lib/Kconfig
index e3348f26b..a5b62e588 100644
--- a/nuttx/lib/Kconfig
+++ b/nuttx/lib/Kconfig
@@ -169,71 +169,3 @@ config ARCH_BZERO
bool "bzero"
default n
endif
-
-config ARCH_HEADER_FILES
- bool "Customize header files"
- default n
- ---help---
- The architecture may provide custom versions of certain
- standard header files
-
-if ARCH_HEADER_FILES
-config ARCH_STDBOOL_H
- bool "stdbool.h"
- default n
- ---help---
- The stdbool.h header file can be found at nuttx/include/stdbool.h.
- However, that header includes logic to redirect the inclusion of an
- architecture specific header file like:
-
- #ifdef CONFIG_ARCH_STDBOOL_H
- # include <arch/stdbool.h>
- #else
- ...
- #endif
-
- 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.
-
-config ARCH_MATH_H
- bool "math.h"
- default n
- ---help---
- There is also a re-directing version of math.h in the source tree.
- However, it resides out-of-the-way at include/nuttx/math.h because it
- conflicts too often with the system math.h. If ARCH_MATH_H=y is
- defined, however, the top-level makefile will copy the redirecting
- math.h header file from include/nuttx/math.h to include/math.h. math.h
- will then include the architecture-specific version of math.h that you
- must provide at nuttx/arch/>architecture</include/math.h.
-
- #ifdef CONFIG_ARCH_MATH_H
- # include <arch/math.h>
- #endif
-
- So for the architectures that define ARCH_MATH_H=y, include/math.h
- will be the redirecting math.h header file; for the architectures
- that don't select ARCH_MATH_H, the redirecting math.h header file
- will stay out-of-the-way in include/nuttx/.
-
-config ARCH_STDARG_H
- bool "stdarg.h"
- default n
- ---help---
- There is also a redirecting version of stdarg.h in the source tree
- as well. It also resides out-of-the-way at include/nuttx/stdarg.h.
- This is because you should normally use your toolchain's stdarg.h
- file. But sometimes, your toolchain's stdarg.h file may have other
- header file dependencies and so may not be usable in the NuttX build
- environment. In those cases, you may have to create a architecture-
- specific stdarg.h header file at nuttx/arch/<architecture>/include/stdarg.h
-
- If ARCH_STDARG_H=y is defined, the top-level makefile will copy the
- re-directing stdarg.h header file from include/nuttx/stdarg.h to
- include/stdarg.h. So for the architectures that cannot use their
- toolchain's stdarg.h file, they can use this alternative by defining
- ARCH_STDARG_H=y and providing. If ARCH_STDARG_H, is not defined, then
- the stdarg.h header file will stay out-of-the-way in include/nuttx/.
-
-endif
-