Config.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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 LDSO_LDD_SUPPORT
  31. bool "Native shared library loader 'ldd' support"
  32. depends on BUILD_UCLIBC_LDSO
  33. default y
  34. help
  35. Enable this to enable all the code needed to support traditional ldd,
  36. which executes the shared library loader to resolve all dependancies
  37. and then provide a list of shared libraries that are required for an
  38. application to function. Disabling this option will makes uClibc's
  39. shared library loader a little bit smaller. Most people will answer Y.
  40. config UCLIBC_HAS_THREADS
  41. bool "POSIX Threading Support"
  42. default y
  43. help
  44. If you want to compile uClibc with pthread support, then answer Y.
  45. This will increase the size of uClibc by adding a bunch of locking
  46. to critical data structures, and adding extra code to ensure that
  47. functions are properly reentrant.
  48. If your applications require pthreads, answer Y.
  49. config UCLIBC_HAS_LFS
  50. bool "Large File Support"
  51. default y
  52. help
  53. If you wish to build uClibc with support for accessing large files
  54. (i.e. files greater then 2 GiB) then answer Y. Do not enable this
  55. if you are using an older Linux kernel (2.0.x) that lacks large file
  56. support. Enabling this option will increase the size of uClibc.
  57. choice
  58. prompt "Malloc Implementation"
  59. default "malloc-930716"
  60. help
  61. "malloc" use mmap for all allocations and so works very well on MMU-less
  62. systems that do not support the brk() system call. It is pretty smart
  63. about reusing already allocated memory, and minimizing memory wastage.
  64. "malloc-930716" is derived from libc-5.3.12 and uses the brk() system call
  65. for all memory allocations. This makes it very fast. It is also pretty
  66. smart about reusing already allocated memory, and minimizing memory wastage.
  67. Because this uses brk() it will not work on uClinux MMU-less systems.
  68. If unsure, answer "malloc".
  69. config MALLOC
  70. bool "malloc"
  71. config MALLOC_930716
  72. bool "malloc-930716"
  73. depends on UCLIBC_HAS_MMU
  74. endchoice
  75. config HAS_SHADOW
  76. bool "Shadow Password Support"
  77. default y
  78. help
  79. Answer N if you do not need shadow password support.
  80. Most people will answer Y.
  81. config UCLIBC_HAS_REGEX
  82. bool "Regular Expression Support"
  83. default y
  84. help
  85. Posix regular expression code is really big -- 27k all by itself.
  86. If you don't use regular expressions, turn this off and save space.
  87. Of course, if you only staticly link, leave this on, since it will
  88. only be included in your apps if you use regular expressions.
  89. config UNIX98PTY_ONLY
  90. bool "Support only Unix 98 PTYs"
  91. default y
  92. help
  93. If you want to support only Unix 98 PTYs enable this. Some older
  94. applications may need this disabled. For most current programs,
  95. you can generally answer Y.
  96. config ASSUME_DEVPTS
  97. bool "Assume that /dev/pts is a devpts or devfs file system"
  98. default y
  99. help
  100. Enable this if /dev/pts is on a devpts or devfs filesystem. Both
  101. these filesystems automatically manage permissions on the /dev/pts
  102. devices. You may need to mount your devpts or devfs filesystem on
  103. /dev/pts for this to work.
  104. Most people should answer Y.
  105. endmenu
  106. menu "Networking Support"
  107. config UCLIBC_HAS_IPV6
  108. bool "IP version 6 Support"
  109. default n
  110. help
  111. If you want to include support for the next version of the Internet
  112. Protocol (IP version 6) then answer Y.
  113. Most people should answer N.
  114. config UCLIBC_HAS_RPC
  115. bool "Remote Procedute Call (RPC) support"
  116. default n
  117. help
  118. If you want to include RPC support, enable this. RPC is rarely used
  119. for anything except for the NFS filesystem. Unless you plan to use NFS,
  120. you can probably leave this set to N and save some space. If you need
  121. to use NFS then you should answer Y.
  122. config UCLIBC_HAS_FULL_RPC
  123. bool "Full RPC support"
  124. depends on UCLIBC_HAS_RPC
  125. default n
  126. help
  127. Normally we enable just enough RPC support for things like rshd and
  128. nfs mounts to work. If you find you need the rest of the RPC stuff,
  129. then enable this option. Most people can safely answer N.
  130. endmenu
  131. menu "String and Stdio Support"
  132. config UCLIBC_HAS_WCHAR
  133. bool "Wide Charactor Support"
  134. default n
  135. help
  136. Answer Y to enable wide char support. This will make uClibc much
  137. bigger.
  138. Most people will answer N.
  139. config UCLIBC_HAS_LOCALE
  140. bool "Locale Support"
  141. depends on UCLIBC_HAS_WCHAR
  142. default n
  143. help
  144. Answer Y to enable locale support. This will make uClibc much
  145. bigger.
  146. Most people will answer N.
  147. config USE_OLD_VFPRINTF
  148. bool "Use the old vfprintf implementation"
  149. default n
  150. help
  151. Set to true to use the old vfprintf instead of the new. This is roughly
  152. C89 compliant, but doesn't deal with qualifiers on %n and doesn't deal with
  153. %h correctly or %hh at all on the interger conversions. But on i386 it is
  154. over 1.5k smaller than the new code. Of course, the new code fixes the
  155. above mentioned deficiencies and adds custom specifier support similar to
  156. glibc, as well as handling positional args. This will be rewritten at some
  157. point to bring it to full C89 standards compliance.
  158. Most people will answer N.
  159. endmenu
  160. menu "Library Installation Options"
  161. config SHARED_LIB_LOADER_PATH
  162. string "Shared library loader path"
  163. depends on BUILD_UCLIBC_LDSO
  164. default "$(DEVEL_PREFIX)/lib"
  165. help
  166. When using shared libraries, this path is the location where the
  167. shared library will be invoked. This value will be compiled into
  168. every binary compiled with uClibc.
  169. BIG FAT WARNING:
  170. If you do not have a shared library loader with the correct name
  171. sitting in the directory this points to, your binaries will not
  172. run.
  173. config SYSTEM_LDSO
  174. string "System shared library loader"
  175. depends on !BUILD_UCLIBC_LDSO
  176. default "/lib/ld-linux.so.2"
  177. help
  178. If you are using shared libraries, but do not want/have a native
  179. uClibc shared library loader, please specify the name of your
  180. target system's shared library loader here...
  181. BIG FAT WARNING:
  182. If you do not have a shared library loader with the correct name
  183. sitting in the directory this points to, your binaries will not
  184. run.
  185. config DEVEL_PREFIX
  186. string "uClibc development environment directory"
  187. default "/usr/$(TARGET_ARCH)-linux-uclibc"
  188. help
  189. DEVEL_PREFIX is the directory into which the uClibc development
  190. environment will be installed. The result will look something
  191. like the following:
  192. $(DEVEL_PREFIX)/
  193. lib/ <contains all runtime and static libs>
  194. include/ <Where all the header files go>
  195. This value is used by the 'make install' Makefile target. Since this
  196. directory is compiled into the uclibc cross compiler spoofer, you
  197. have to recompile uClibc if you change this value...
  198. config SYSTEM_DEVEL_PREFIX
  199. string "uClibc development environment system directory"
  200. default "$(DEVEL_PREFIX)"
  201. help
  202. SYSTEM_DEVEL_PREFIX is the directory prefix used when installing
  203. bin/arch-uclibc-gcc, bin/arch-uclibc-ld, etc. This is only used by
  204. the 'make install' target, and is not compiled into anything. This
  205. defaults to $(DEVEL_PREFIX)/usr, but makers of .rpms and .debs will
  206. want to set this to "/usr" instead.
  207. config DEVEL_TOOL_PREFIX
  208. string "uClibc development environment system directory"
  209. default "$(DEVEL_PREFIX)/usr"
  210. help
  211. DEVEL_TOOL_PREFIX is the directory prefix used when installing
  212. bin/gcc, bin/ld, etc. This is only used by the 'make install'
  213. target, and is not compiled into anything. This defaults to
  214. $(DEVEL_PREFIX)/usr, but makers of .rpms and .debs may want to
  215. set this to something else.
  216. endmenu
  217. menu "uClibc hacking options"
  218. config DODEBUG
  219. bool "Build uClibc with debugging symbols"
  220. default n
  221. help
  222. Say Y here if you wish to compile uClibc with debugging symbols.
  223. This will allow you to use a debugger to examine uClibc internals
  224. while applications are running. This increases the size of the
  225. library considerably and should only be used when doing development.
  226. If you are doing development and want to debug uClibc, answer Y.
  227. Otherwise, answer N.
  228. config SUPPORT_LD_DEBUG
  229. bool "Build the shared library loader with debugging support"
  230. depends on BUILD_UCLIBC_LDSO
  231. default y
  232. help
  233. Answer Y here to enable all the extra code needed to debug the uClibc
  234. native shared library loader. The level of debugging noise that is
  235. generated depends on the LD_DEBUG environment variable... Just set
  236. LD_DEBUG to something like: 'LD_DEBUG=token1,token2,.. prog' to
  237. debug your application. Diagnostic messages will then be printed to
  238. the stderr.
  239. For now these debugging tokens are available:
  240. detail provide more information for some options
  241. move display copy processings
  242. symbols display symbol table processing
  243. reloc display relocation processing; detail shows the relocation patch
  244. nofixups never fixes up jump relocations
  245. bindings displays the resolve processing (function calls); detail shows the relocation patch
  246. all Enable everything!
  247. The additional environment variable:
  248. LD_DEBUG_OUTPUT=file
  249. redirects the diagnostics to an output file created using
  250. the specified name and the process id as a suffix.
  251. An excellent start is simply:
  252. $ LD_DEBUG=binding,move,symbols,reloc,detail ./appname
  253. or to log everything to a file named 'logfile', try this
  254. $ LD_DEBUG=all LD_DEBUG_OUTPUT=logfile ./appname
  255. If you are doing development and want to debug uClibc's shared library
  256. loader, answer Y. Mere mortals answer N.
  257. config SUPPORT_LD_DEBUG_EARLY
  258. bool "Build the shared library loader with early debugging support"
  259. depends on BUILD_UCLIBC_LDSO
  260. default y
  261. help
  262. Answer Y here to if you find the uClibc shared library loader is
  263. crashing or otherwise not working very early on. This is typical
  264. only when starting a new port when you havn't figured out how to
  265. properly get the values for argc, argv, environ, etc. This method
  266. allows a degree of visibility into the very early shared library
  267. loader initialization process. If you are doing development and want
  268. to debug the uClibc shared library loader early initialization,
  269. answer Y. Mere mortals answer N.
  270. endmenu