Config.in 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/config-language.txt.
  4. #
  5. menu "General Library Settings"
  6. config DOPIC
  7. bool "Generate Position Independent Code (PIC)"
  8. default y
  9. help
  10. If you wish to build uClibc with support for shared libraries then
  11. answer Y here. If you only want to build uClibc as a static library,
  12. then answer N.
  13. config HAVE_SHARED
  14. bool "Enable support for shared libraries"
  15. depends on DOPIC
  16. default y
  17. help
  18. If you wish to build uClibc with support for shared libraries then
  19. answer Y here. If you only want to build uClibc as a static library,
  20. then answer N.
  21. config BUILD_UCLIBC_LDSO
  22. bool "Compile native shared library loader"
  23. depends on HAVE_SHARED
  24. default y
  25. help
  26. uClibc has a native shared library loader for some architectures.
  27. If you answer Y here, the uClibc native shared library loader will
  28. be built for your target architecture. If this option is available,
  29. to you, then you almost certainly want to answer Y.
  30. config UCLIBC_HAS_THREADS
  31. bool "POSIX Threading Support"
  32. default y
  33. help
  34. If you want to compile uClibc with pthread support, then answer Y.
  35. This will increase the size of uClibc by adding a bunch of locking
  36. to critical data structures, and adding extra code to ensure that
  37. functions are properly reentrant.
  38. If your applications require pthreads, answer Y.
  39. config UCLIBC_HAS_LFS
  40. bool "Large File Support"
  41. default y
  42. help
  43. If you wish to build uClibc with support for accessing large files
  44. (i.e. files greater then 2 GiB) then answer Y. Do not enable this
  45. if you are using an older Linux kernel (2.0.x) that lacks large file
  46. support. Enabling this option will increase the size of uClibc.
  47. choice
  48. prompt "Malloc Implementation"
  49. default "malloc-930716"
  50. help
  51. "malloc" use mmap for all allocations and so works very well on MMU-less
  52. systems that do not support the brk() system call. It is pretty smart
  53. about reusing already allocated memory, and minimizing memory wastage.
  54. "malloc-930716" is derived from libc-5.3.12 and uses the brk() system call
  55. for all memory allocations. This makes it very fast. It is also pretty
  56. smart about reusing already allocated memory, and minimizing memory wastage.
  57. Because this uses brk() it will not work on uClinux MMU-less systems.
  58. If unsure, answer "malloc".
  59. config MALLOC
  60. bool "malloc"
  61. config MALLOC_930716
  62. bool "malloc-930716"
  63. depends on UCLIBC_HAS_MMU
  64. endchoice
  65. config HAS_SHADOW
  66. bool "Shadow Password Support"
  67. default y
  68. help
  69. Answer N if you do not need shadow password support.
  70. Most people will answer Y.
  71. config UCLIBC_HAS_REGEX
  72. bool "Regular Expression Support"
  73. default y
  74. help
  75. Posix regular expression code is really big -- 27k all by itself.
  76. If you don't use regular expressions, turn this off and save space.
  77. Of course, if you only staticly link, leave this on, since it will
  78. only be included in your apps if you use regular expressions.
  79. config UNIX98PTY_ONLY
  80. bool "Support only Unix 98 PTYs"
  81. default y
  82. help
  83. If you want to support only Unix 98 PTYs enable this. Some older
  84. applications may need this disabled. For most current programs,
  85. you can generally answer Y.
  86. config ASSUME_DEVPTS
  87. bool "Assume that /dev/pts is a devpts or devfs file system"
  88. default y
  89. help
  90. Enable this if /dev/pts is on a devpts or devfs filesystem. Both
  91. these filesystems automatically manage permissions on the /dev/pts
  92. devices. You may need to mount your devpts or devfs filesystem on
  93. /dev/pts for this to work.
  94. Most people should answer Y.
  95. endmenu
  96. menu "Networking Support"
  97. config UCLIBC_HAS_IPV6
  98. bool "IP version 6 Support"
  99. default n
  100. help
  101. If you want to include support for the next version of the Internet
  102. Protocol (IP version 6) then answer Y.
  103. Most people should answer N.
  104. config UCLIBC_HAS_RPC
  105. bool "Remote Procedute Call (RPC) support"
  106. default n
  107. help
  108. If you want to include RPC support, enable this. RPC is rarely used
  109. for anything except for the NFS filesystem. Unless you plan to use NFS,
  110. you can probably leave this set to N and save some space. If you need
  111. to use NFS then you should answer Y.
  112. config UCLIBC_HAS_FULL_RPC
  113. bool "Full RPC support"
  114. depends on UCLIBC_HAS_RPC
  115. default n
  116. help
  117. Normally we enable just enough RPC support for things like rshd and
  118. nfs mounts to work. If you find you need the rest of the RPC stuff,
  119. then enable this option. Most people can safely answer N.
  120. endmenu
  121. menu "String and Stdio Support"
  122. config UCLIBC_HAS_WCHAR
  123. bool "Wide Charactor Support"
  124. default n
  125. help
  126. Answer Y to enable wide char support. This will make uClibc much
  127. bigger.
  128. Most people will answer N.
  129. config UCLIBC_HAS_LOCALE
  130. bool "Locale Support"
  131. depends on UCLIBC_HAS_WCHAR
  132. default n
  133. help
  134. Answer Y to enable locale support. This will make uClibc much
  135. bigger.
  136. Most people will answer N.
  137. config USE_OLD_VFPRINTF
  138. bool "Use the old vfprintf implementation"
  139. default n
  140. help
  141. Set to true to use the old vfprintf instead of the new. This is roughly
  142. C89 compliant, but doesn't deal with qualifiers on %n and doesn't deal with
  143. %h correctly or %hh at all on the interger conversions. But on i386 it is
  144. over 1.5k smaller than the new code. Of course, the new code fixes the
  145. above mentioned deficiencies and adds custom specifier support similar to
  146. glibc, as well as handling positional args. This will be rewritten at some
  147. point to bring it to full C89 standards compliance.
  148. Most people will answer N.
  149. endmenu
  150. menu "Library Installation Options"
  151. config SHARED_LIB_LOADER_PATH
  152. string "Shared library loader path"
  153. depends on BUILD_UCLIBC_LDSO
  154. default "$(DEVEL_PREFIX)/lib"
  155. help
  156. When using shared libraries, this path is the location where the
  157. shared library will be invoked. This value will be compiled into
  158. every binary compiled with uClibc.
  159. BIG FAT WARNING:
  160. If you do not have a shared library loader with the correct name
  161. sitting in the directory this points to, your binaries will not
  162. run.
  163. config SYSTEM_LDSO
  164. string "System shared library loader"
  165. depends on !BUILD_UCLIBC_LDSO
  166. default "/lib/ld-linux.so.2"
  167. help
  168. If you are using shared libraries, but do not want/have a native
  169. uClibc shared library loader, please specify the name of your
  170. target system's shared library loader here...
  171. BIG FAT WARNING:
  172. If you do not have a shared library loader with the correct name
  173. sitting in the directory this points to, your binaries will not
  174. run.
  175. config DEVEL_PREFIX
  176. string "uClibc development environment directory"
  177. default "/usr/$(TARGET_ARCH)-linux-uclibc"
  178. help
  179. DEVEL_PREFIX is the directory into which the uClibc development
  180. environment will be installed. The result will look something
  181. like the following:
  182. $(DEVEL_PREFIX)/
  183. lib/ <contains all runtime and static libs>
  184. include/ <Where all the header files go>
  185. This value is used by the 'make install' Makefile target. Since this
  186. directory is compiled into the uclibc cross compiler spoofer, you
  187. have to recompile uClibc if you change this value...
  188. config SYSTEM_DEVEL_PREFIX
  189. string "uClibc development environment system directory"
  190. default "$(DEVEL_PREFIX)"
  191. help
  192. SYSTEM_DEVEL_PREFIX is the directory prefix used when installing
  193. bin/arch-uclibc-gcc, bin/arch-uclibc-ld, etc. This is only used by
  194. the 'make install' target, and is not compiled into anything. This
  195. defaults to $(DEVEL_PREFIX)/usr, but makers of .rpms and .debs will
  196. want to set this to "/usr" instead.
  197. config DEVEL_TOOL_PREFIX
  198. string "uClibc development environment system directory"
  199. default "$(DEVEL_PREFIX)/usr"
  200. help
  201. DEVEL_TOOL_PREFIX is the directory prefix used when installing
  202. bin/gcc, bin/ld, etc. This is only used by the 'make install'
  203. target, and is not compiled into anything. This defaults to
  204. $(DEVEL_PREFIX)/usr, but makers of .rpms and .debs may want to
  205. set this to something else.
  206. endmenu
  207. menu "uClibc hacking options"
  208. config DODEBUG
  209. bool "Build uClibc with debugging symbols"
  210. default n
  211. help
  212. Say Y here if you wish to compile uClibc with debugging symbols.
  213. This will allow you to use a debugger to examine uClibc internals
  214. while applications are running. This increases the size of the
  215. library considerably and should only be used when doing development.
  216. If you are doing development and want to debug uClibc, answer Y.
  217. Otherwise, answer N.
  218. endmenu