diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-10 16:19:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-10 16:19:12 +0000 |
commit | 6d8270ffc52370931aa7a0ac985078ea10718457 (patch) | |
tree | 65e310bdf9dd9db4886938931afdbeaa8d75aaff /nuttx/libc/math/Kconfig | |
parent | a09a1f220c52cde6dd94e8f82457c66f69d46e3d (diff) | |
download | px4-firmware-6d8270ffc52370931aa7a0ac985078ea10718457.tar.gz px4-firmware-6d8270ffc52370931aa7a0ac985078ea10718457.tar.bz2 px4-firmware-6d8270ffc52370931aa7a0ac985078ea10718457.zip |
Still trying to recover directory contents
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5330 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/math/Kconfig')
-rw-r--r-- | nuttx/libc/math/Kconfig | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nuttx/libc/math/Kconfig b/nuttx/libc/math/Kconfig new file mode 100644 index 000000000..c24bfd53f --- /dev/null +++ b/nuttx/libc/math/Kconfig @@ -0,0 +1,26 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config LIBM + bool "Math library" + default n + depends on !ARCH_MATH_H + ---help--- + By default, no math library will be provided by NuttX. In this this case, it + is assumed that (1) no math library is required, or (2) you will be using the + math.h header file and the libm library provided by your toolchain. + + This is may be a very good choice is possible because your toolchain may have + have a highly optimized version of libm. + + Another possibility is that you have a custom, architecture-specific math + libary and that the corresponding math.h file resides at arch/<architecture>/include/math.h. + The option is selected via ARCH_MATH_H. If ARCH_MATH_H is selected,then the include/nuttx/math.h + header file will be copied to include/math.h where it can be used by your applications. + + If ARCH_MATH_H is not defined, then this option can be selected to build a generic, + math library built into NuttX. This math library comes from the Rhombus OS and + was written by Nick Johnson. The Rhombus OS math library port was contributed by + Darcy Gong. |