Config.in 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. mainmenu "uClibc C Library Configuration"
  6. choice
  7. prompt "Target Architecture"
  8. help
  9. Stuff
  10. config TARGET_alpha
  11. bool "alpha"
  12. config TARGET_arm
  13. bool "arm"
  14. config TARGET_avr32
  15. bool "avr32"
  16. config TARGET_bfin
  17. bool "bfin"
  18. config TARGET_cris
  19. bool "cris"
  20. config TARGET_e1
  21. bool "e1 (BROKEN)"
  22. config TARGET_frv
  23. bool "frv (BROKEN)"
  24. config TARGET_h8300
  25. bool "h8300 (BROKEN)"
  26. config TARGET_hppa
  27. bool "hppa"
  28. config TARGET_i386
  29. bool "i386"
  30. config TARGET_i960
  31. bool "i960 (BROKEN)"
  32. config TARGET_ia64
  33. bool "ia64"
  34. config TARGET_m68k
  35. bool "m68k"
  36. config TARGET_microblaze
  37. bool "microblaze (BROKEN)"
  38. config TARGET_mips
  39. bool "mips"
  40. config TARGET_nios
  41. bool "nios"
  42. config TARGET_nios2
  43. bool "nios2"
  44. config TARGET_powerpc
  45. bool "powerpc"
  46. config TARGET_sh
  47. bool "superh"
  48. config TARGET_sh64
  49. bool "sh64"
  50. config TARGET_sparc
  51. bool "sparc"
  52. config TARGET_v850
  53. bool "v850 (BROKEN)"
  54. config TARGET_vax
  55. bool "vax"
  56. config TARGET_x86_64
  57. bool "x86_64"
  58. config TARGET_xtensa
  59. bool "xtensa"
  60. endchoice
  61. menu "Target Architecture Features and Options"
  62. if TARGET_alpha
  63. source "extra/Configs/Config.alpha"
  64. endif
  65. if TARGET_arm
  66. source "extra/Configs/Config.arm"
  67. endif
  68. if TARGET_avr32
  69. source "extra/Configs/Config.avr32"
  70. endif
  71. if TARGET_bfin
  72. source "extra/Configs/Config.bfin"
  73. endif
  74. if TARGET_cris
  75. source "extra/Configs/Config.cris"
  76. endif
  77. if TARGET_e1
  78. source "extra/Configs/Config.e1"
  79. endif
  80. if TARGET_frv
  81. source "extra/Configs/Config.frv"
  82. endif
  83. if TARGET_h8300
  84. source "extra/Configs/Config.h8300"
  85. endif
  86. if TARGET_hppa
  87. source "extra/Configs/Config.hppa"
  88. endif
  89. if TARGET_i386
  90. source "extra/Configs/Config.i386"
  91. endif
  92. if TARGET_i960
  93. source "extra/Configs/Config.i960"
  94. endif
  95. if TARGET_ia64
  96. source "extra/Configs/Config.ia64"
  97. endif
  98. if TARGET_m68k
  99. source "extra/Configs/Config.m68k"
  100. endif
  101. if TARGET_nios
  102. source "extra/Configs/Config.nios"
  103. endif
  104. if TARGET_nios2
  105. source "extra/Configs/Config.nios2"
  106. endif
  107. if TARGET_microblaze
  108. source "extra/Configs/Config.microblaze"
  109. endif
  110. if TARGET_mips
  111. source "extra/Configs/Config.mips"
  112. endif
  113. if TARGET_powerpc
  114. source "extra/Configs/Config.powerpc"
  115. endif
  116. if TARGET_sh
  117. source "extra/Configs/Config.sh"
  118. endif
  119. if TARGET_sh64
  120. source "extra/Configs/Config.sh64"
  121. endif
  122. if TARGET_sparc
  123. source "extra/Configs/Config.sparc"
  124. endif
  125. if TARGET_v850
  126. source "extra/Configs/Config.v850"
  127. endif
  128. if TARGET_vax
  129. source "extra/Configs/Config.vax"
  130. endif
  131. if TARGET_x86_64
  132. source "extra/Configs/Config.x86_64"
  133. endif
  134. if TARGET_xtensa
  135. source "extra/Configs/Config.xtensa"
  136. endif
  137. config TARGET_SUBARCH
  138. string
  139. default "e500" if CONFIG_E500
  140. default "classic" if CONFIG_CLASSIC
  141. default "sh4" if CONFIG_SH4
  142. default ""
  143. source "extra/Configs/Config.in.arch"
  144. endmenu
  145. menu "General Library Settings"
  146. config HAVE_NO_PIC
  147. bool
  148. default n
  149. config DOPIC
  150. bool "Generate only Position Independent Code (PIC)"
  151. default y
  152. depends on !HAVE_NO_PIC
  153. help
  154. If you wish to build all of uClibc as PIC objects, then answer Y here.
  155. If you are unsure, then you should answer N.
  156. config ARCH_HAS_NO_SHARED
  157. bool
  158. default n
  159. config ARCH_HAS_NO_LDSO
  160. bool
  161. select ARCH_HAS_NO_SHARED
  162. default n
  163. config HAVE_SHARED
  164. bool "Enable support for shared libraries"
  165. depends on !ARCH_HAS_NO_SHARED
  166. default y
  167. help
  168. If you wish to build uClibc with support for shared libraries then
  169. answer Y here. If you only want to build uClibc as a static library,
  170. then answer N.
  171. config FORCE_SHAREABLE_TEXT_SEGMENTS
  172. bool "Only load shared libraries which can share their text segment"
  173. depends on HAVE_SHARED
  174. default n
  175. help
  176. If you answer Y here, the uClibc native shared library loader will
  177. only load shared libraries, which do not need to modify any non-writable
  178. segments. These libraries haven't set the DT_TEXTREL tag in the dynamic
  179. section (==> objdump). All your libraries must be compiled with
  180. -fPIC or -fpic, and all assembler function must be written as position
  181. independent code (PIC).
  182. Enabling this option will make uClibc's shared library loader a
  183. little bit smaller and guarantee that no memory will be wasted by badly
  184. coded shared libraries.
  185. config LDSO_LDD_SUPPORT
  186. bool "Native 'ldd' support"
  187. depends on HAVE_SHARED
  188. default y
  189. help
  190. Enable this to enable all the code needed to support traditional ldd,
  191. which executes the shared library loader to resolve all dependencies
  192. and then provide a list of shared libraries that are required for an
  193. application to function. Disabling this option will makes uClibc's
  194. shared library loader a little bit smaller. Most people will answer Y.
  195. config LDSO_CACHE_SUPPORT
  196. bool "Enable library loader cache (ld.so.conf)"
  197. depends on HAVE_SHARED
  198. default y
  199. help
  200. Enable this to make use of /etc/ld.so.conf, the shared library loader
  201. cache configuration file to support for non-standard library paths.
  202. After updating this file, it is necessary to run 'ldconfig' to update
  203. the /etc/ld.so.cache shared library loader cache file.
  204. config LDSO_PRELOAD_FILE_SUPPORT
  205. bool "Enable library loader preload file (ld.so.preload)"
  206. depends on HAVE_SHARED
  207. default n
  208. help
  209. Enable this to make use of /etc/ld.so.preload. This file contains a
  210. whitespace separated list of shared libraries to be loaded before
  211. the program.
  212. config LDSO_BASE_FILENAME
  213. string "Shared library loader naming prefix"
  214. depends on HAVE_SHARED && (LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT)
  215. default "ld.so"
  216. help
  217. If you wish to support both uClibc and glibc on the same system, it
  218. is necessary to set this to something other than "ld.so" to avoid
  219. conflicts with glibc, which also uses "ld.so". This prevents both
  220. libraries from using the same /etc/ld.so.* files. If you wish to
  221. support both uClibc and glibc on the same system then you should set
  222. this to "ld-uClibc.so".
  223. Most people will leave this set to the default of "ld.so".
  224. WARNING: Changing the default prefix could cause problems with
  225. binutils' ld !
  226. config UCLIBC_STATIC_LDCONFIG
  227. bool "Link ldconfig statically"
  228. depends on HAVE_SHARED
  229. default y
  230. help
  231. Enable this option to statically link the ldconfig binary.
  232. Making ldconfig static can be beneficial if you have a library
  233. problem and need to use ldconfig to recover. Sometimes, it is
  234. preferable to instead keep the size of the system down, in which
  235. case you should disable this option.
  236. config LDSO_RUNPATH
  237. bool "Enable ELF RUNPATH tag support"
  238. depends on HAVE_SHARED
  239. default y
  240. help
  241. ELF's may have dynamic RPATH/RUNPATH tags. These tags list paths
  242. which extend the library search paths. They are really only useful
  243. if a package installs libraries in non standard locations and
  244. ld.so.conf support is disabled.
  245. Usage of RUNPATH tags is not too common, so disabling this feature
  246. should be safe for most people.
  247. config UCLIBC_CTOR_DTOR
  248. bool "Support global constructors and destructors"
  249. default y
  250. help
  251. If you wish to build uClibc with support for global constructor
  252. (ctor) and global destructor (dtor) support, then answer Y here.
  253. When ctor/dtor support is enabled, binaries linked with uClibc must
  254. also be linked with crtbegin.o and crtend.o which are provided by gcc
  255. (the "*startfile:" and "*endfile:" settings in your gcc specs file
  256. may need to be adjusted to include these files). This support will
  257. also add a small amount of additional size to each binary compiled vs
  258. uClibc. If you will be using uClibc with C++, or if you need the gcc
  259. __attribute__((constructor)) and __attribute__((destructor)) to work,
  260. then you definitely want to answer Y here. If you don't need ctors
  261. or dtors and want your binaries to be as small as possible, then
  262. answer N.
  263. config LDSO_GNU_HASH_SUPPORT
  264. bool "Enable GNU hash style support"
  265. depends on HAVE_SHARED
  266. default n
  267. help
  268. Newest binutils support a new hash style named GNU-hash. The dynamic
  269. linker will use the new GNU-hash section (.gnu.hash) for symbol lookup
  270. if present into the ELF binaries, otherwise it will use the old SysV
  271. hash style (.hash). This ensures that it is completely backward compatible.
  272. Further, being the hash table implementation self-contained into each
  273. executable and shared libraries, objects with mixed hash style can
  274. peacefully coexist in the same process.
  275. If you want to use this new feature, answer Y
  276. config HAS_NO_THREADS
  277. bool
  278. default n
  279. config UCLIBC_HAS_THREADS
  280. bool "POSIX Threading support"
  281. depends on !HAS_NO_THREADS
  282. default y
  283. # linuxthreads and linuxthreads.old need nanosleep()
  284. select UCLIBC_HAS_REALTIME
  285. help
  286. If you want to compile uClibc with pthread support, then answer Y.
  287. This will increase the size of uClibc by adding a bunch of locking
  288. to critical data structures, and adding extra code to ensure that
  289. functions are properly reentrant.
  290. If your applications require pthreads, answer Y.
  291. config PTHREADS_DEBUG_SUPPORT
  292. bool "Build pthreads debugging support"
  293. default n
  294. depends on UCLIBC_HAS_THREADS
  295. help
  296. Say Y here if you wish to be able to debug applications that use
  297. uClibc's pthreads library. By enabling this option, a library
  298. named libthread_db will be built. This library will be dlopen()'d
  299. by gdb and will allow gdb to debug the threads in your application.
  300. IMPORTANT NOTE! Because gdb must dlopen() the libthread_db library,
  301. you must compile gdb with uClibc in order for pthread debugging to
  302. work properly.
  303. If you are doing development and want to debug applications using
  304. uClibc's pthread library, answer Y. Otherwise, answer N.
  305. config LINUXTHREADS_OLD
  306. bool "Use the older (stable) version of linuxthreads"
  307. default y
  308. depends on UCLIBC_HAS_THREADS
  309. help
  310. There are two versions of linuxthreads. The older (stable) version
  311. has been in uClibc for quite a long time but hasn't seen too many
  312. updates other than bugfixes.
  313. The new version has not been tested much, and lacks ports for arches
  314. which glibc does not support (like bfin/frv/etc...), but is based on
  315. the latest code from glibc, so it may be the only choice for the
  316. newer ports (like alpha/amd64/64bit arches and hppa).
  317. config UCLIBC_HAS_SYSLOG
  318. bool "Syslog support"
  319. default y
  320. depends on UCLIBC_HAS_NETWORK_SUPPORT
  321. select UCLIBC_HAS_SOCKET
  322. help
  323. Support sending messages to the system logger.
  324. This requires socket-support.
  325. config UCLIBC_HAS_LFS
  326. bool "Large File Support"
  327. default y
  328. help
  329. If you wish to build uClibc with support for accessing large files
  330. (i.e. files greater then 2 GiB) then answer Y. Do not enable this
  331. if you are using an older Linux kernel (2.0.x) that lacks large file
  332. support. Enabling this option will increase the size of uClibc.
  333. choice
  334. prompt "Malloc Implementation"
  335. default MALLOC if ! ARCH_USE_MMU
  336. default MALLOC_STANDARD if ARCH_USE_MMU
  337. help
  338. "malloc" use mmap for all allocations and so works very well on MMU-less
  339. systems that do not support the brk() system call. It is pretty smart
  340. about reusing already allocated memory, and minimizing memory wastage.
  341. This is the default for uClinux MMU-less systems.
  342. "malloc-simple" was written from scratch for uClibc, and is the
  343. simplest possible (and therefore smallest) malloc implementation.
  344. This uses only the mmap() system call to allocation memory, and does
  345. not use the brk() system call at all, making it a fine choice for
  346. MMU-less systems with very limited memory. It is rather dumb, and
  347. certainly isn't the fastest. But it is 100% standards compliant,
  348. thread safe, and very small.
  349. "malloc-standard" is derived from the public domain dlmalloc
  350. implementation by Doug Lea. It is quite fast, and is pretty smart
  351. about reusing already allocated memory, and minimizing memory
  352. wastage. This uses brk() for small allocations, while using mmap()
  353. for larger allocations. This is the default malloc implementation
  354. for uClibc.
  355. If unsure, answer "malloc-standard".
  356. config MALLOC
  357. bool "malloc"
  358. config MALLOC_SIMPLE
  359. bool "malloc-simple"
  360. config MALLOC_STANDARD
  361. bool "malloc-standard"
  362. depends on ARCH_USE_MMU
  363. endchoice
  364. config MALLOC_GLIBC_COMPAT
  365. bool "Malloc returns live pointer for malloc(0)"
  366. default n
  367. help
  368. The behavior of malloc(0) is listed as implementation-defined by
  369. SuSv3. Glibc returns a valid pointer to something, while uClibc
  370. normally returns NULL. I personally feel glibc's behavior is
  371. not particularly safe, and allows buggy applications to hide very
  372. serious problems.
  373. When this option is enabled, uClibc will act just like glibc, and
  374. return a live pointer when someone calls malloc(0). This pointer
  375. provides a malloc'ed area with a size of 1 byte. This feature is
  376. mostly useful when dealing with applications using autoconf's broken
  377. AC_FUNC_MALLOC macro (which redefines malloc as rpl_malloc if it
  378. does not detect glibc style returning-a-valid-pointer-for-malloc(0)
  379. behavior). Most people can safely answer N.
  380. config UCLIBC_DYNAMIC_ATEXIT
  381. bool "Dynamic atexit() Support"
  382. default y
  383. help
  384. When this option is enabled, uClibc will support an infinite number,
  385. of atexit() and on_exit() functions, limited only by your available
  386. memory. This can be important when uClibc is used with C++, since
  387. global destructors are implemented via atexit(), and it is quite
  388. possible to exceed the default number when this option is disabled.
  389. Enabling this option adds a few bytes, and more significantly makes
  390. atexit and on_exit depend on malloc, which can be bad when compiling
  391. static executables.
  392. Unless you use uClibc with C++, you should probably answer N.
  393. config COMPAT_ATEXIT
  394. bool "Old (visible) atexit Support"
  395. default n
  396. help
  397. Enable this option if you want to update from 0.9.28 to svn/0.9.29, else
  398. you will be missing atexit() until you rebuild all apps.
  399. config UCLIBC_SUSV3_LEGACY
  400. bool "Enable SuSv3 LEGACY functions"
  401. default n
  402. help
  403. Enable this option if you want to have SuSv3 LEGACY functions
  404. in the library, else they are replaced by SuSv3 proposed macros.
  405. Currently applies to bcopy/bzero/bcmp/index/rindex/ftime.
  406. WARNING! ABI incompatibility.
  407. config UCLIBC_SUSV3_LEGACY_MACROS
  408. bool "Enable SuSv3 LEGACY macros"
  409. default n
  410. help
  411. Enable this option if you want to have SuSv3 LEGACY macros.
  412. Currently applies to bcopy/bzero/bcmp/index/rindex et al.
  413. WARNING! ABI incompatibility.
  414. config UCLIBC_HAS_SHADOW
  415. bool "Shadow Password Support"
  416. default y
  417. help
  418. Answer N if you do not need shadow password support.
  419. Most people will answer Y.
  420. config UCLIBC_HAS_PROGRAM_INVOCATION_NAME
  421. bool "Support for program_invocation_name"
  422. default n
  423. help
  424. Support for the GNU-specific program_invocation_name and
  425. program_invocation_short_name strings. Some GNU packages
  426. (like tar and coreutils) utilize these for extra useful
  427. output, but in general are not required.
  428. At startup, these external strings are automatically set
  429. up based on the value of ARGV[0].
  430. If unsure, just answer N.
  431. config UCLIBC_HAS___PROGNAME
  432. bool "Support for __progname"
  433. default y
  434. depends on UCLIBC_HAS_PROGRAM_INVOCATION_NAME
  435. help
  436. Some packages (like openssh) like to peek into internal libc
  437. symbols to make their output a bit more user friendly.
  438. At startup, __progname is automatically set up based on the
  439. value of ARGV[0].
  440. If unsure, just answer N.
  441. config UCLIBC_HAS_PTY
  442. bool "Support for pseudo-terminals"
  443. default y
  444. help
  445. This enables support for pseudo-terminals (see man 4 pts
  446. and man 7 pty).
  447. If unsure, just answer Y.
  448. config ASSUME_DEVPTS
  449. bool "Assume that /dev/pts is a devpts or devfs file system"
  450. default y
  451. depends on UCLIBC_HAS_PTY
  452. help
  453. Enable this if /dev/pts is on a devpts or devfs filesystem. Both
  454. these filesystems automatically manage permissions on the /dev/pts
  455. devices. You may need to mount your devpts or devfs filesystem on
  456. /dev/pts for this to work.
  457. Most people should answer Y.
  458. config UNIX98PTY_ONLY
  459. bool "Support only Unix 98 PTYs"
  460. default y
  461. depends on UCLIBC_HAS_PTY
  462. help
  463. If you want to support only Unix 98 PTYs enable this. Some older
  464. applications may need this disabled and will thus use legacy BSD
  465. style PTY handling which is more complex and also bigger than
  466. Unix 98 PTY handling.
  467. For most current programs, you can generally answer Y.
  468. if UNIX98PTY_ONLY
  469. config UCLIBC_HAS_GETPT
  470. bool "Support getpt() (glibc-compat)"
  471. default n
  472. depends on UCLIBC_HAS_PTY
  473. help
  474. Some packages may need getpt().
  475. All of those are non-standard and can be considered
  476. GNU/libc compatibility.
  477. Either use posix_openpt() or just open /dev/ptmx yourself.
  478. If unsure, just say N.
  479. endif
  480. if !UNIX98PTY_ONLY
  481. # Have to use __libc_ptyname{1,2}[] and related bloat
  482. config UCLIBC_HAS_GETPT
  483. def_bool y
  484. endif
  485. config UCLIBC_HAS_TM_EXTENSIONS
  486. bool "Support 'struct tm' timezone extension fields"
  487. default y
  488. help
  489. Enabling this option adds fields to 'struct tm' in time.h for
  490. tracking the number of seconds east of UTC, and an abbreviation for
  491. the current timezone. These fields are not specified by the SuSv3
  492. standard, but they are commonly used in both GNU and BSD application
  493. code.
  494. To strictly follow the SuSv3 standard, leave this disabled.
  495. Most people will probably want to answer Y.
  496. config UCLIBC_HAS_TZ_CACHING
  497. bool "Enable caching of the last valid timezone 'TZ' string"
  498. default y
  499. help
  500. Answer Y to enable caching of the last valid 'TZ' string describing
  501. the timezone setting. This allows a quick string compare to avoid
  502. repeated parsing of unchanged 'TZ' strings when tzset() is called.
  503. Most people will answer Y.
  504. config UCLIBC_HAS_TZ_FILE
  505. bool "Enable '/etc/TZ' file support to set a default timezone (uClibc-specific)"
  506. default y
  507. help
  508. Answer Y to enable the setting of a default timezone for uClibc.
  509. Ordinarily, uClibc gets the timezone information exclusively from the
  510. 'TZ' environment variable. In particular, there is no support for
  511. the zoneinfo directory tree or the /etc/timezone file used by glibc.
  512. With this option enabled, uClibc will use the value stored in the
  513. file '/etc/TZ' (default path) to obtain timezone information if the
  514. 'TZ' environment variable is missing or has an invalid value. The
  515. file consists of a single line (newline required) of text describing
  516. the timezone in the format specified for the TZ environment variable.
  517. Simply doing 'echo CST6CDT > /etc/TZ' is enough to create a valid file.
  518. See
  519. http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
  520. for details on valid settings of 'TZ'.
  521. Most people will answer Y.
  522. config UCLIBC_HAS_TZ_FILE_READ_MANY
  523. bool "Repeatedly read the '/etc/TZ' file"
  524. depends on UCLIBC_HAS_TZ_FILE
  525. default y
  526. help
  527. Answer Y to enable repeated reading of the '/etc/TZ' file even after
  528. a valid value has been read. This incurs the overhead of an open/read/close
  529. for each tzset() call (explicit or implied). However, setting this
  530. will allows applications to update their timezone information if the contents
  531. of the file change.
  532. Most people will answer Y.
  533. config UCLIBC_TZ_FILE_PATH
  534. string "Path to the 'TZ' file for setting the global timezone"
  535. depends on UCLIBC_HAS_TZ_FILE
  536. default "/etc/TZ"
  537. help
  538. This is the path to the 'TZ' file.
  539. Most people will use the default of '/etc/TZ'.
  540. endmenu
  541. menu "Advanced Library Settings"
  542. config UCLIBC_PWD_BUFFER_SIZE
  543. int "Buffer size for getpwnam() and friends"
  544. default 256
  545. range 12 1024
  546. help
  547. This sets the value of the buffer size for getpwnam() and friends.
  548. By default, this is 256. (For reference, glibc uses 1024).
  549. The value can be found using sysconf() with the _SC_GETPW_R_SIZE_MAX
  550. parameter.
  551. config UCLIBC_GRP_BUFFER_SIZE
  552. int "Buffer size for getgrnam() and friends"
  553. default 256
  554. range 256 1024
  555. help
  556. This sets the value of the buffer size for getgrnam() and friends.
  557. By default, this is 256. (For reference, glibc uses 1024).
  558. The value can be found using sysconf() with the _SC_GETGR_R_SIZE_MAX
  559. parameter.
  560. comment "Support various families of functions"
  561. config UCLIBC_LINUX_MODULE_24
  562. bool "Linux kernel module functions"
  563. default y
  564. help
  565. init_module, create_module, query_module, delete_module
  566. are used in linux (allegedly prior to 2.6) for loadable
  567. kernel modules.
  568. Say N if you do not use kernel modules.
  569. config UCLIBC_LINUX_SPECIFIC
  570. bool "Linux specific functions"
  571. default y
  572. help
  573. fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(),
  574. personality(), ppoll(), setresuid()
  575. config UCLIBC_HAS_GNU_ERROR
  576. bool "Support GNU extensions for error-reporting"
  577. default y
  578. help
  579. Support for the GNU-specific error(), error_at_line(),
  580. void (* error_print_progname)(), error_message_count
  581. functions and variables. Some GNU packages
  582. utilize these for extra useful output, but in general
  583. are not required.
  584. If unsure, just answer N.
  585. config UCLIBC_BSD_SPECIFIC
  586. bool "BSD specific functions"
  587. default y
  588. help
  589. mincore(), getdomainname(), setdomainname()
  590. If unsure, say N.
  591. config UCLIBC_HAS_BSD_ERR
  592. bool "BSD err functions"
  593. default y
  594. help
  595. These functions are non-standard BSD extensions.
  596. err(), errx(), warn(), warnx(), verr(), verrx(), vwarn(), vwarnx()
  597. If unsure, say N.
  598. config UCLIBC_HAS_OBSOLETE_BSD_SIGNAL
  599. bool "BSD obsolete signal functions"
  600. default n
  601. help
  602. These functions are provided as a compatibility interface for
  603. programs that make use of the historical System V signal API.
  604. This API is obsolete:
  605. new applications should use the POSIX signal API (sigaction(2),
  606. sigprocmask(2), etc.).
  607. Affected functions:
  608. sigset(), sighold(), sigrelse(), sigignore()
  609. If unsure, say N.
  610. config UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL
  611. bool "SYSV obsolete signal functions"
  612. default n
  613. help
  614. Use of sysv_signal() should be avoided; use sigaction(2) instead.
  615. If unsure, say N.
  616. config UCLIBC_NTP_LEGACY
  617. bool "ntp_*() aliases"
  618. default n
  619. help
  620. Provide legacy aliases for ntp functions:
  621. ntp_adjtime(), ntp_gettime()
  622. It is safe to say N here.
  623. config UCLIBC_SV4_DEPRECATED
  624. bool "Enable SVr4 deprecated functions"
  625. default n
  626. help
  627. These functions are DEPRECATED in System V release 4.
  628. Say N unless you desparately need one of the functions below:
  629. ustat() [use statfs(2) in your code instead]
  630. config UCLIBC_HAS_REALTIME
  631. bool "Realtime-related family of SUSv functions"
  632. default y
  633. # glitch in mq_{send,receive} currently forces this on
  634. select UCLIBC_HAS_ADVANCED_REALTIME
  635. help
  636. These functions are part of the Timers option and need not
  637. be available on all implementations.
  638. Includes AIO, message-queue, scheduler, semaphore functions:
  639. aio.h
  640. mqueue.h
  641. sched.h
  642. semaphore.h
  643. aio_cancel()
  644. aio_error()
  645. aio_fsync()
  646. aio_read()
  647. lio_listio()
  648. aio_return()
  649. aio_suspend()
  650. aio_write()
  651. clock_getres(), clock_gettime(), clock_settime()
  652. fdatasync()
  653. mlockall(), munlockall()
  654. mlock(), munlock()
  655. mq_close()
  656. mq_getattr()
  657. mq_notify()
  658. mq_open()
  659. mq_receive()
  660. mq_send()
  661. mq_setattr()
  662. mq_unlink()
  663. nanosleep()
  664. sched_getparam()
  665. sched_get_priority_max(), sched_get_priority_min()
  666. sched_getscheduler()
  667. sched_rr_get_interval()
  668. sched_setparam()
  669. sched_setscheduler()
  670. sem_close()
  671. sem_destroy()
  672. sem_getvalue()
  673. sem_init()
  674. sem_open()
  675. sem_post()
  676. sem_trywait(), sem_wait()
  677. sem_unlink()
  678. sigqueue()
  679. sigtimedwait(), sigwaitinfo()
  680. timer_create()
  681. timer_delete()
  682. timer_getoverrun(), timer_gettime(), timer_settime()
  683. config UCLIBC_HAS_ADVANCED_REALTIME
  684. bool "Advanced realtime-related family of SUSv functions"
  685. default y
  686. depends on UCLIBC_HAS_REALTIME
  687. help
  688. These functions are part of the Timers option and need not
  689. be available on all implementations.
  690. clock_getcpuclockid()
  691. clock_nanosleep()
  692. mq_timedreceive()
  693. mq_timedsend()
  694. posix_fadvise()
  695. posix_fallocate()
  696. posix_madvise()
  697. posix_memalign()
  698. posix_mem_offset()
  699. posix_spawnattr_destroy(), posix_spawnattr_init()
  700. posix_spawnattr_getflags(), posix_spawnattr_setflags()
  701. posix_spawnattr_getpgroup(), posix_spawnattr_setpgroup()
  702. posix_spawnattr_getschedparam(), posix_spawnattr_setschedparam()
  703. posix_spawnattr_getschedpolicy(), posix_spawnattr_setschedpolicy()
  704. posix_spawnattr_getsigdefault(), posix_spawnattr_setsigdefault()
  705. posix_spawnattr_getsigmask(), posix_spawnattr_setsigmask()
  706. posix_spawn_file_actions_addclose()
  707. posix_spawn_file_actions_adddup2()
  708. posix_spawn_file_actions_addopen()
  709. posix_spawn_file_actions_destroy()
  710. posix_spawn_file_actions_init()
  711. posix_spawn()
  712. posix_spawnp()
  713. posix_typed_mem_get_info()
  714. pthread_mutex_timedlock()
  715. sem_timedwait()
  716. #config UCLIBC_HAS_TERMIOS
  717. # bool "termios functions"
  718. # default y
  719. # help
  720. # Get and set terminal attributes, line control, get and set baud
  721. # rate.
  722. # termios(), tcgetattr(), tcsetattr(), tcsendbreak(), tcdrain(),
  723. # tcflush(), tcflow(), cfmakeraw(), cfgetospeed(), cfgetispeed(),
  724. # cfsetispeed(), cfsetospeed(), cfsetspeed()
  725. #
  726. # If unsure, say Y.
  727. config UCLIBC_HAS_EPOLL
  728. bool "epoll"
  729. default y
  730. help
  731. epoll_create(), epoll_ctl(), epoll_wait() functions.
  732. config UCLIBC_HAS_XATTR
  733. bool "Extended Attributes"
  734. default y
  735. help
  736. Extended Attributes support.
  737. setxattr()
  738. lsetxattr()
  739. fsetxattr()
  740. getxattr()
  741. lgetxattr()
  742. fgetxattr()
  743. listxattr()
  744. llistxattr()
  745. flistxattr()
  746. removexattr()
  747. lremovexattr()
  748. fremovexattr()
  749. Say N unless you need support for extended attributes and the
  750. filesystems do actually support them.
  751. config UCLIBC_HAS_PROFILING
  752. bool "Profiling support"
  753. default y
  754. help
  755. gcc's -finstrument-functions needs these.
  756. Most people can safely answer N.
  757. config UCLIBC_HAS_CRYPT_IMPL
  758. bool "libcrypt support"
  759. default y
  760. help
  761. libcrypt contains crypt(), setkey() and encrypt()
  762. config UCLIBC_HAS_CRYPT_STUB
  763. bool "libcrypt stubs"
  764. default y
  765. depends on !UCLIBC_HAS_CRYPT_IMPL
  766. help
  767. Standards mandate that crypt(3) provides a stub if it is unavailable.
  768. If you enable this option then stubs for
  769. crypt(), setkey() and encrypt()
  770. will be provided in a small libcrypt.
  771. config UCLIBC_HAS_CRYPT
  772. def_bool y
  773. depends on UCLIBC_HAS_CRYPT_IMPL || UCLIBC_HAS_CRYPT_STUB
  774. endmenu
  775. menuconfig UCLIBC_HAS_NETWORK_SUPPORT
  776. bool "Networking Support"
  777. default y
  778. help
  779. Say N here if you do not need network support.
  780. if UCLIBC_HAS_NETWORK_SUPPORT
  781. config UCLIBC_HAS_SOCKET
  782. bool "Socket support"
  783. default y
  784. help
  785. If you want to include support for sockets then answer Y.
  786. config UCLIBC_HAS_IPV4
  787. bool "IP version 4 support"
  788. default y
  789. select UCLIBC_HAS_SOCKET
  790. help
  791. If you want to include support for the Internet Protocol
  792. (IP version 4) then answer Y.
  793. Most people will say Y.
  794. config UCLIBC_HAS_IPV6
  795. bool "IP version 6 support"
  796. default n
  797. select UCLIBC_HAS_SOCKET
  798. help
  799. If you want to include support for the next version of the Internet
  800. Protocol (IP version 6) then answer Y.
  801. Most people should answer N.
  802. config UCLIBC_HAS_RPC
  803. bool "Remote Procedure Call (RPC) support"
  804. default n
  805. help
  806. If you want to include RPC support, enable this. RPC is rarely used
  807. for anything except for the NFS filesystem. Unless you plan to use NFS,
  808. you can probably leave this set to N and save some space. If you need
  809. to use NFS then you should answer Y.
  810. config UCLIBC_HAS_FULL_RPC
  811. bool "Full RPC support"
  812. depends on UCLIBC_HAS_RPC
  813. default y if !HAVE_SHARED
  814. help
  815. Normally we enable just enough RPC support for things like rshd and
  816. nfs mounts to work. If you find you need the rest of the RPC stuff,
  817. then enable this option. Most people can safely answer N.
  818. config UCLIBC_HAS_REENTRANT_RPC
  819. bool "Reentrant RPC support"
  820. depends on UCLIBC_HAS_RPC
  821. default y if !HAVE_SHARED
  822. help
  823. Most packages utilize the normal (non-reentrant) RPC functions, but
  824. some (like exportfs from nfs-utils) need these reentrant versions.
  825. Most people can safely answer N.
  826. config UCLIBC_USE_NETLINK
  827. bool "Use netlink to query interfaces"
  828. default n
  829. depends on UCLIBC_HAS_SOCKET
  830. help
  831. In newer versions of Linux (2.4.17+), support was added for querying
  832. network device information via netlink rather than the old style
  833. ioctl's. Most of the time, the older ioctl style is sufficient (and
  834. it is smaller than netlink), but if you find that not all of your
  835. devices are being returned by the if_nameindex() function, you will
  836. have to use the netlink implementation.
  837. Most people can safely answer N.
  838. config UCLIBC_SUPPORT_AI_ADDRCONFIG
  839. bool "Support the AI_ADDRCONFIG flag"
  840. depends on UCLIBC_USE_NETLINK
  841. default n
  842. help
  843. The implementation of AI_ADDRCONFIG is aligned with the glibc
  844. implementation using netlink to query interfaces to find both
  845. ipv4 and ipv6 support. This is only needed if an application uses
  846. the AI_ADDRCONFIG flag.
  847. Most people can safely answer N.
  848. config UCLIBC_HAS_BSD_RES_CLOSE
  849. bool "Support res_close() (bsd-compat)"
  850. default n
  851. help
  852. Answer Y if you desperately want to support BSD compatibility in
  853. the network code.
  854. Most people will say N.
  855. endif
  856. menu "String and Stdio Support"
  857. config UCLIBC_HAS_STRING_GENERIC_OPT
  858. bool "Use glibc generic string functions"
  859. default y
  860. help
  861. Answer Y to use the (tweaked) glibc generic string functions.
  862. In general, they are faster (but 3-5K larger) than the base
  863. uClibc string functions which are optimized solely for size.
  864. Many people will answer Y.
  865. config UCLIBC_HAS_STRING_ARCH_OPT
  866. bool "Use arch-specific string functions"
  867. default y
  868. help
  869. Answer Y to use the arch-specific string functions instead of the
  870. base uClibc versions, which are optimized exclusively for size.
  871. Most people will answer Y, as this has been default behavior
  872. for some time.
  873. config UCLIBC_HAS_CTYPE_TABLES
  874. bool "Use Table Versions Of 'ctype.h' Functions."
  875. default y
  876. help
  877. Answer Y to use table versions of the 'ctype.h' functions.
  878. While the non-table versions are often smaller when building
  879. statically linked apps, they work only in stub locale mode.
  880. Most people will answer Y.
  881. config UCLIBC_HAS_CTYPE_SIGNED
  882. bool "Support Signed Characters In 'ctype.h' Functions."
  883. depends on UCLIBC_HAS_CTYPE_TABLES
  884. default y
  885. help
  886. Answer Y to enable support for passing signed char values to
  887. the 'ctype.h' functions. ANSI/ISO C99 and SUSv3 specify that
  888. these functions are only defined for unsigned char values and
  889. EOF. However, glibc allows negative signed char values as well
  890. in order to support 'broken old programs'.
  891. Most people will answer Y.
  892. choice
  893. prompt "ctype argument checking"
  894. depends on UCLIBC_HAS_CTYPE_TABLES
  895. default UCLIBC_HAS_CTYPE_UNSAFE
  896. help
  897. Please select the invalid arg behavior you want for the 'ctype' functions.
  898. The 'ctype' functions are now implemented using table lookups, with
  899. the arg being the index. This can result in incorrect memory accesses
  900. or even segfaults for args outside of the allowed range.
  901. NOTE: This only affects the 'ctype' _functions_. It does not affect
  902. the macro implementations.
  903. config UCLIBC_HAS_CTYPE_UNSAFE
  904. bool "Do not check -- unsafe"
  905. config UCLIBC_HAS_CTYPE_CHECKED
  906. bool "Detect and handle appropriately"
  907. config UCLIBC_HAS_CTYPE_ENFORCED
  908. bool "Issue a diagnostic and abort()"
  909. endchoice
  910. config UCLIBC_HAS_WCHAR
  911. bool "Wide Character Support"
  912. default n
  913. help
  914. Answer Y to enable wide character support. This will make uClibc
  915. much larger. It is also currently required for locale support.
  916. Most people will answer N.
  917. config UCLIBC_HAS_LOCALE
  918. bool "Locale Support"
  919. select UCLIBC_HAS_WCHAR
  920. select UCLIBC_HAS_CTYPE_TABLES
  921. default n
  922. help
  923. uClibc now has full ANSI/ISO C99 locale support (except for
  924. wcsftime() and collating items in regex). Be aware that enabling
  925. this option will make uClibc much larger.
  926. Enabling UCLIBC_HAS_LOCALE with the default set of supported locales
  927. (169 UTF-8 locales, and 144 locales for other codesets) will enlarge
  928. uClibc by around 300k. You can reduce this size by building your own
  929. custom set of locate data (see extra/locale/LOCALES for details).
  930. uClibc's locale support is still under development. For example,
  931. codesets using shift states are not currently supported. Support is
  932. planned in the next iteration of locale support.
  933. Answer Y to enable locale support. Most people will answer N.
  934. config UCLIBC_PREGENERATED_LOCALE_DATA
  935. bool "Use Pre-generated Locale Data"
  936. depends on UCLIBC_HAS_LOCALE
  937. default n
  938. help
  939. If you are selective and only want locale data for a few particular
  940. locales, or you enjoy pain, or you are a rabid do-it-yourself sort of
  941. person, you can turn this option off and manually walk through the
  942. mostly undocumented procedure needed to generate your own locale
  943. data.
  944. Mere mortals will answer Y and use the default set of pregenerated
  945. locale data, which supports 169 UTF-8 locales, and 144 locales for
  946. other codesets (for the complete list see extra/locale/LOCALES).
  947. config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
  948. bool "Automagically Download the Pre-generated Locale Data (if necessary)"
  949. depends on UCLIBC_PREGENERATED_LOCALE_DATA
  950. default n
  951. help
  952. If you would like the build process to use 'wget' to automatically
  953. download the pregenerated locale data, enable this option. Otherwise
  954. you will need to obtain the locale data yourself from:
  955. http://www.uclibc.org/downloads/uClibc-locale-030818.tgz
  956. and place the uClibc-locale-030818.tgz tarball in the extra/locale/
  957. directory.
  958. Go ahead and make life easy for yourself... Answer Y.
  959. config UCLIBC_HAS_XLOCALE
  960. bool "Extended Locale Support (experimental/incomplete)"
  961. depends on UCLIBC_HAS_LOCALE
  962. default n
  963. help
  964. Answer Y to enable extended locale support similar to that provided
  965. by glibc. This is primarily intended to support libstd++ functionality.
  966. However, it also allows thread-specific locale selection via uselocale().
  967. Most people will answer N.
  968. config UCLIBC_HAS_HEXADECIMAL_FLOATS
  969. bool "Support hexadecimal float notation"
  970. depends on UCLIBC_HAS_CTYPE_TABLES
  971. depends on UCLIBC_HAS_FLOATS
  972. default n
  973. help
  974. Answer Y to enable support for hexadecimal float notation in the
  975. (wchar and) char string to floating point conversion functions, as
  976. well as support for the %a and %A conversion specifiers in the
  977. *printf() and *scanf() functions.
  978. Most people will answer N.
  979. config UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  980. bool "Support glibc's \"'\" flag for allowing locale-specific digit grouping"
  981. depends on UCLIBC_HAS_LOCALE
  982. depends on UCLIBC_HAS_FLOATS
  983. default n
  984. help
  985. Answer Y to enable support for glibc's \"'\" flag for allowing locale-specific
  986. digit grouping in base 10 integer conversions and appropriate floating point
  987. conversions in the *printf() and *scanf() functions.
  988. Most people will answer N.
  989. config UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING
  990. bool "Do not require digit grouping when the \"'\" flag is specified"
  991. depends on UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  992. default y
  993. help
  994. Answer Y to make digit grouping optional when the \"'\" flag is specified.
  995. This is the standard glibc behavior. If the initial string of digits
  996. exceeds the maximum group number, the input will be treated as a normal
  997. non-grouped number.
  998. Most people will answer N.
  999. config UCLIBC_HAS_GLIBC_CUSTOM_PRINTF
  1000. bool "Support glibc's register_printf_function() (glibc-compat)"
  1001. depends on !USE_OLD_VFPRINTF
  1002. default n
  1003. help
  1004. Answer Y to support glibc's register_printf_function() to allow an
  1005. application to add its own printf conversion specifiers.
  1006. NOTE: This implementation limits the number or registered specifiers to 10.
  1007. NOTE: This implementation requires new conversion specifiers to be ASCII
  1008. characters (0-0x7f). This is to avoid problems with processing
  1009. format strings in locales with different multibyte conversions.
  1010. Most people will answer N.
  1011. config USE_OLD_VFPRINTF
  1012. bool "Use the old vfprintf implementation"
  1013. depends on !UCLIBC_HAS_WCHAR
  1014. default n
  1015. help
  1016. Set to true to use the old vfprintf instead of the new. This is roughly
  1017. C89 compliant with some extensions, and is much smaller. However, it does
  1018. not support wide chars, positional args, or glibc custom printf specifiers.
  1019. Most people will answer N.
  1020. config UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS
  1021. int "Maximum number of positional args. Either 0 or >= 9."
  1022. depends on !USE_OLD_VFPRINTF
  1023. default 9
  1024. help
  1025. Set the maximum number of positional args supported by the printf/scanf
  1026. functions. The Single Unix Specification Version 3 requires a minimum
  1027. value of 9. Setting this to a value lower than 9 will disable positional
  1028. arg support and cause the NL_ARGMAX macro in limits.h to be #undef'd.
  1029. WARNING! The workspace to support positional args is currently allocated
  1030. on the stack. You probably don't want to set this to too high a value.
  1031. Most people will answer 9.
  1032. config UCLIBC_HAS_SCANF_GLIBC_A_FLAG
  1033. bool "Support glibc's 'a' flag for scanf string conversions (not implemented)"
  1034. default n
  1035. help
  1036. NOTE!!! Currently Not Implemented!!! Just A Place Holder!! NOTE!!!
  1037. NOTE!!! Conflicts with an ANSI/ISO C99 scanf flag!! NOTE!!!
  1038. Answer Y to enable support for glibc's 'a' flag for the scanf string
  1039. conversions '%s', '%[', '%ls', '%l[', and '%S'. This is used to
  1040. auto-allocate sufficient memory to hold the data retrieved.
  1041. Most people will answer N.
  1042. choice
  1043. prompt "Stdio buffer size"
  1044. default UCLIBC_HAS_STDIO_BUFSIZ_4096
  1045. help
  1046. Please select a value for BUFSIZ. This will be used by the
  1047. stdio subsystem as the default buffer size for a file, and
  1048. affects fopen(), setvbuf(), etc.
  1049. NOTE: Setting this to 'none' will disable buffering completely.
  1050. However, BUFSIZ will still be defined in stdio.h as 256 because
  1051. many applications use this value.
  1052. config UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1053. bool "none (WARNING - BUFSIZ will be 256 in stdio.h)"
  1054. depends on !UCLIBC_HAS_WCHAR
  1055. config UCLIBC_HAS_STDIO_BUFSIZ_256
  1056. bool "256 (minimum ANSI/ISO C99 value)"
  1057. config UCLIBC_HAS_STDIO_BUFSIZ_512
  1058. bool "512"
  1059. config UCLIBC_HAS_STDIO_BUFSIZ_1024
  1060. bool "1024"
  1061. config UCLIBC_HAS_STDIO_BUFSIZ_2048
  1062. bool "2048"
  1063. config UCLIBC_HAS_STDIO_BUFSIZ_4096
  1064. bool "4096"
  1065. config UCLIBC_HAS_STDIO_BUFSIZ_8192
  1066. bool "8192"
  1067. # If you add more choices, you will need to update uClibc_stdio.h.
  1068. endchoice
  1069. choice
  1070. prompt "Stdio builtin buffer size (uClibc-specific)"
  1071. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1072. default UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  1073. help
  1074. When a FILE is created with fopen(), an attempt is made to allocate
  1075. a BUFSIZ buffer for it. If the allocation fails, fopen() will still
  1076. succeed but the FILE will be unbuffered.
  1077. This option adds a small amount of space to each FILE to act as an
  1078. emergency buffer in the event of a buffer allocation failure.
  1079. Most people will answer None.
  1080. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  1081. bool "None"
  1082. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4
  1083. bool "4"
  1084. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8
  1085. bool "8"
  1086. # If you add more choices, you will need to update uClibc_stdio.h.
  1087. endchoice
  1088. config UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT
  1089. bool "Attempt to shutdown stdio subsystem when abort() is called."
  1090. default n
  1091. help
  1092. ANSI/ISO C99 requires abort() to be asyn-signal-safe. So there was a behavioral
  1093. change made in SUSv3. Previously, abort() was required to have the affect of
  1094. fclose() on all open streams. The wording has been changed to "may" from "shall".
  1095. Most people will answer N.
  1096. config UCLIBC_HAS_STDIO_GETC_MACRO
  1097. bool "Provide a macro version of getc()"
  1098. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1099. default y
  1100. help
  1101. Provide a macro version of getc().
  1102. Most people will answer Y.
  1103. config UCLIBC_HAS_STDIO_PUTC_MACRO
  1104. bool "Provide a macro version of putc()"
  1105. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1106. default y
  1107. help
  1108. Provide a macro version of putc().
  1109. Most people will answer Y.
  1110. config UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION
  1111. bool "Support auto-r/w transition"
  1112. default y
  1113. help
  1114. Answer Y to enable the stdio subsystem to automaticly transition
  1115. between reading and writing. This relaxes the ANSI/ISO C99 requirement:
  1116. When a file is opened with update mode ('+' as the second or third character
  1117. in the list of mode argument values), both input and output may be performed
  1118. on the associated stream. However, output shall not be directly followed by
  1119. input without an intervening call to the fflush function or to a file
  1120. positioning function (fseek, fsetpos, or rewind), and input shall not be
  1121. directly followed by output without an intervening call to a file positioning
  1122. function, unless the input operation encounters end­of­file.
  1123. Most people will answer Y.
  1124. config UCLIBC_HAS_FOPEN_LARGEFILE_MODE
  1125. bool "Support an fopen() 'F' flag for large file mode (uClibc-specific)"
  1126. depends on UCLIBC_HAS_LFS
  1127. default n
  1128. help
  1129. Answer Y to enable a uClibc-specific extension to allow passing an
  1130. additional 'F' flag in the mode string for fopen() to specify that
  1131. the file should be open()ed with the O_LARGEFILE flag set.
  1132. Most people will answer N.
  1133. config UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE
  1134. bool "Support an fopen() 'x' flag for exclusive mode (glibc-compat)"
  1135. default n
  1136. help
  1137. Answer Y to support a glibc extension to allow passing
  1138. additional 'x' flag in the mode string for fopen() to specify that
  1139. the file should be open()ed with the O_EXCL flag set.
  1140. Most people will answer N.
  1141. config UCLIBC_HAS_GLIBC_CUSTOM_STREAMS
  1142. bool "Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat)"
  1143. default n
  1144. help
  1145. Answer Y to support the glibc 'custom stream' extension functions
  1146. fmemopen(), open_memstream(), and fopencookie().
  1147. NOTE: There are some minor differences regarding seeking behavior.
  1148. Most people will answer N.
  1149. config UCLIBC_HAS_PRINTF_M_SPEC
  1150. bool "Support the '%m' specifier in printf format strings (glibc-compat)"
  1151. default n
  1152. help
  1153. Answer Y to support a glibc extension to interpret '%m' in printf
  1154. format strings as an instruction to output the error message string
  1155. (as generated by strerror) corresponding to the current value of 'errno'.
  1156. Most people will answer N.
  1157. config UCLIBC_HAS_ERRNO_MESSAGES
  1158. bool "Include the errno message text in the library"
  1159. default y
  1160. help
  1161. Answer Y if you want to include the errno message text in the
  1162. library. This adds about 3K to the library, but enables strerror()
  1163. to generate text other than 'Unknown error <number>'.
  1164. Most people will answer Y.
  1165. config UCLIBC_HAS_SYS_ERRLIST
  1166. bool "Support sys_errlist[] (obsolete-compat)"
  1167. depends on UCLIBC_HAS_ERRNO_MESSAGES
  1168. default n
  1169. help
  1170. Answer Y if you want to support the obsolete sys_errlist[].
  1171. This adds about 0.5k to the library, except for the mips
  1172. arch where it adds over 4K.
  1173. WARNING! In the future, support for sys_errlist[] may be unavailable
  1174. in at least some configurations. In fact, it may be removed altogether.
  1175. Most people will answer N.
  1176. Application writers: use the strerror(3) function.
  1177. config UCLIBC_HAS_SIGNUM_MESSAGES
  1178. bool "Include the signum message text in the library"
  1179. default y
  1180. help
  1181. Answer Y if you want to include the signum message text in the
  1182. library. This adds about 0.5K to the library, but enables strsignal()
  1183. to generate text other than 'Unknown signal <number>'.
  1184. Most people will answer Y.
  1185. config UCLIBC_HAS_SYS_SIGLIST
  1186. bool "Support sys_siglist[] (bsd-compat)"
  1187. depends on UCLIBC_HAS_SIGNUM_MESSAGES
  1188. default n
  1189. help
  1190. Answer Y if you want to support sys_siglist[].
  1191. WARNING! In the future, support for sys_siglist[] may be unavailable
  1192. in at least some configurations. In fact, it may be removed altogether.
  1193. Most people will answer N.
  1194. config UCLIBC_HAS_GETTEXT_AWARENESS
  1195. bool "Include gettext awareness"
  1196. depends on UCLIBC_HAS_LOCALE && UCLIBC_MJN3_ONLY
  1197. default n
  1198. help
  1199. NOTE!!! Not yet integrated with strerror and strsignal. NOTE!!!
  1200. Answer Y if you want to include weak stub gettext support and
  1201. make the *strerror*() and strsignal() functions gettext-aware.
  1202. Currently, to get functional gettext functionality you will need
  1203. to use gnu gettext.
  1204. Most people will answer N.
  1205. config UCLIBC_HAS_GNU_GETOPT
  1206. bool "Support gnu getopt"
  1207. default y
  1208. help
  1209. Answer Y if you want to include full gnu getopt() instead of a
  1210. (much smaller) SUSv3 compatible getopt().
  1211. Most people will answer Y.
  1212. config UCLIBC_HAS_GETOPT_LONG
  1213. bool "Support getopt_long/getopt_long_only"
  1214. depends on !UCLIBC_HAS_GNU_GETOPT
  1215. default y
  1216. help
  1217. Answer Y if you want to include getopt_long[_only() used by many
  1218. apps, even busybox.
  1219. Most people will answer Y.
  1220. config UCLIBC_HAS_GNU_GETSUBOPT
  1221. bool "Support glibc getsubopt"
  1222. default y
  1223. help
  1224. Answer Y if you want to include glibc getsubopt() instead of a
  1225. smaller SUSv3 compatible getsubopt().
  1226. Most people will answer Y.
  1227. endmenu
  1228. menu "Big and Tall"
  1229. config UCLIBC_HAS_REGEX
  1230. bool "Regular Expression Support"
  1231. default y
  1232. help
  1233. POSIX regular expression code is really big -- 53k all by itself.
  1234. If you don't use regular expressions, turn this off and save space.
  1235. Of course, if you only statically link, leave this on, since it will
  1236. only be included in your apps if you use regular expressions.
  1237. config UCLIBC_HAS_REGEX_OLD
  1238. bool "Use the older (stable) regular expression code"
  1239. depends on UCLIBC_HAS_REGEX
  1240. default y
  1241. help
  1242. There are two versions of regex. The older (stable) version has
  1243. been in uClibc for quite a long time but hasn't seen too many
  1244. updates. It also has some known issues when dealing with uncommon
  1245. corner cases and multibyte/unicode strings. However, it is quite
  1246. a bit smaller than the newer version.
  1247. If the older version has worked for you and you don't need unicode
  1248. support, then stick with the old version (and say Y here).
  1249. Otherwise, you should use the new version (and say N here).
  1250. config UCLIBC_HAS_FNMATCH
  1251. bool "fnmatch Support"
  1252. default y
  1253. help
  1254. POSIX fnmatch.
  1255. config UCLIBC_HAS_FNMATCH_OLD
  1256. bool "Use the older (stable) fnmatch code"
  1257. depends on UCLIBC_HAS_FNMATCH
  1258. default y
  1259. help
  1260. There are two versions of fnmatch. The older (stable) version has
  1261. been in uClibc for quite a long time but hasn't seen too many
  1262. updates. It also has some known issues when dealing with uncommon
  1263. corner cases and multibyte/unicode strings. However, it is quite
  1264. a bit smaller than the newer version.
  1265. If the older version has worked for you and you don't need unicode
  1266. support, then stick with the old version (and say Y here).
  1267. Otherwise, you should use the new version (and say N here).
  1268. config UCLIBC_HAS_WORDEXP
  1269. bool "Support the wordexp() interface"
  1270. depends on UCLIBC_HAS_GLOB
  1271. default n
  1272. help
  1273. The SuSv3 wordexp() interface performs word expansions per the Shell
  1274. and Utilities volume of IEEE Std 1003.1-2001, Section 2.6. It is
  1275. intended for use by applications that want to implement all of the
  1276. standard Bourne shell expansions on input data.
  1277. This interface is rarely used, and very large. Unless you have a
  1278. pressing need for wordexp(), you should probably answer N.
  1279. config UCLIBC_HAS_FTW
  1280. bool "Support the ftw() and nftw() interfaces"
  1281. default n
  1282. help
  1283. The SuSv3 ftw() and nftw() interfaces are used to recursively descend
  1284. directory paths while repeatedly calling a function.
  1285. This interface is rarely used, and adds around 4.5k. Unless you have
  1286. a pressing need for ftw() or nftw(), you should probably answer N.
  1287. config UCLIBC_HAS_GLOB
  1288. bool "Support the glob() interface"
  1289. depends on UCLIBC_HAS_FNMATCH
  1290. default y
  1291. help
  1292. The glob interface is somewhat large (weighing in at about 2,5k). It
  1293. is used fairly often, but is an option since people wanting to go for
  1294. absolute minimum size may wish to omit it.
  1295. Most people will answer Y.
  1296. config UCLIBC_HAS_GNU_GLOB
  1297. bool "Support gnu glob() interface"
  1298. depends on UCLIBC_HAS_GLOB
  1299. default n
  1300. help
  1301. The gnu glob interface is somewhat larger (weighing in at about 4,2k) than
  1302. it's SuSv3 counterpart (and is out of date). It is an old copy from glibc and
  1303. does not support all the GNU specific options.
  1304. Answer Y if you want to include full gnu glob() instead of the smaller SUSv3
  1305. compatible glob().
  1306. Most people will answer N.
  1307. endmenu
  1308. menu "Library Installation Options"
  1309. config SHARED_LIB_LOADER_PREFIX
  1310. string "Shared library loader path"
  1311. depends on HAVE_SHARED
  1312. default "$(RUNTIME_PREFIX)lib"
  1313. help
  1314. When using shared libraries, this path is the location where the
  1315. shared library will be invoked. This value will be compiled into
  1316. every binary compiled with uClibc.
  1317. For a typical target system this should be set to "/lib", such that
  1318. 'make install' will install /lib/ld-uClibc.so.0.
  1319. BIG FAT WARNING:
  1320. If you do not have a shared library loader with the correct name
  1321. sitting in the directory this points to, your binaries will not
  1322. run.
  1323. config RUNTIME_PREFIX
  1324. string "uClibc runtime library directory"
  1325. default "/usr/$(TARGET_ARCH)-linux-uclibc/"
  1326. help
  1327. RUNTIME_PREFIX is the directory into which the uClibc runtime
  1328. libraries will be installed. The result will look something
  1329. like the following:
  1330. $(RUNTIME_PREFIX)/
  1331. lib/ <contains all runtime libraries>
  1332. usr/bin/ldd <the ldd utility program>
  1333. sbin/ldconfig <the ldconfig utility program>
  1334. This value is used by the 'make install' Makefile target. Since this
  1335. directory is compiled into the shared library loader, you will need to
  1336. recompile uClibc if you change this value...
  1337. For a typical target system this should be set to "/", such that
  1338. 'make install' will install /lib/libuClibc-<VERSION>.so
  1339. config DEVEL_PREFIX
  1340. string "uClibc development environment directory"
  1341. default "/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
  1342. help
  1343. DEVEL_PREFIX is the directory into which the uClibc development
  1344. environment will be installed. The result will look something
  1345. like the following:
  1346. $(DEVEL_PREFIX)/
  1347. lib/ <contains static libs>
  1348. include/ <Where all the header files go>
  1349. This value is used by the 'make install' Makefile target when
  1350. installing a uClibc development environment.
  1351. For a typical target system this should be set to "/usr", such that
  1352. 'make install' will install /usr/include/<header files>.
  1353. endmenu
  1354. menu "Security options"
  1355. config UCLIBC_BUILD_PIE
  1356. bool "Build utilities as ET_DYN/PIE executables"
  1357. depends on HAVE_SHARED
  1358. depends on TARGET_arm || TARGET_frv || TARGET_i386 || TARGET_mips || TARGET_powerpc
  1359. select FORCE_SHAREABLE_TEXT_SEGMENTS
  1360. default n
  1361. help
  1362. If you answer Y here, ldd and iconv are built as ET_DYN/PIE executables.
  1363. It requires gcc-3.4 and binutils-2.15 (for arm 2.16) or later.
  1364. More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .
  1365. WARNING: This option also enables FORCE_SHAREABLE_TEXT_SEGMENTS, so all
  1366. libraries have to be built with -fPIC or -fpic, and all assembler
  1367. functions must be written as position independent code (PIC).
  1368. config UCLIBC_HAS_ARC4RANDOM
  1369. bool "Include the arc4random() function"
  1370. default n
  1371. help
  1372. Answer Y to support the OpenBSD-like arc4random() function. This
  1373. function picks a random number between 0 and N, and will always return
  1374. something even if the random driver is dead. If urandom fails then
  1375. gettimeofday(2) will be used as the random seed. This function is
  1376. designed to be more dependable than invoking /dev/urandom directly.
  1377. OpenSSL and OpenNTPD currently support this function.
  1378. Most people will answer N.
  1379. config HAVE_NO_SSP
  1380. bool
  1381. default n
  1382. config UCLIBC_HAS_SSP
  1383. bool "Support for propolice smashing stack protector"
  1384. depends on !HAVE_NO_SSP
  1385. default n
  1386. help
  1387. Add propolice smashing stack protector to the library.
  1388. This requires GCC 4.1, supporting the -fstack-protector[-all]
  1389. options. GCC does not have to provide libssp, the needed
  1390. functions are added to ldso/libc instead.
  1391. Most people will answer N.
  1392. config UCLIBC_HAS_SSP_COMPAT
  1393. bool "Support for gcc-3.x propolice smashing stack protector"
  1394. depends on UCLIBC_HAS_SSP
  1395. default n
  1396. help
  1397. Add gcc-3.x propolice smashing stack protector to the library.
  1398. This requires a patched version of GCC, supporting the
  1399. -fstack-protector[-all] options, with the __guard and
  1400. __stack_smash_handler functions removed from libgcc.
  1401. These functions are added to ldso/libc instead.
  1402. More information at:
  1403. <http://www.research.ibm.com/trl/projects/security/ssp/>
  1404. Most people will answer N.
  1405. config SSP_QUICK_CANARY
  1406. bool "Use simple guard values without accessing /dev/urandom"
  1407. depends on UCLIBC_HAS_SSP
  1408. default n
  1409. help
  1410. Use gettimeofday(2) to define the __guard without accessing
  1411. /dev/urandom.
  1412. WARNING: This makes smashing stack protector vulnerable to timing
  1413. attacks.
  1414. Most people will answer N.
  1415. choice
  1416. prompt "Propolice protection blocking signal"
  1417. depends on UCLIBC_HAS_SSP
  1418. default PROPOLICE_BLOCK_ABRT if ! DODEBUG
  1419. default PROPOLICE_BLOCK_SEGV if DODEBUG
  1420. help
  1421. "abort" use SIGABRT to block offending programs.
  1422. This is the default implementation.
  1423. "segfault" use SIGSEGV to block offending programs.
  1424. Use this for debugging.
  1425. If unsure, answer "abort".
  1426. config PROPOLICE_BLOCK_ABRT
  1427. bool "abort"
  1428. config PROPOLICE_BLOCK_SEGV
  1429. bool "segfault"
  1430. endchoice
  1431. config UCLIBC_BUILD_SSP
  1432. bool "Build uClibc with propolice protection"
  1433. depends on UCLIBC_HAS_SSP
  1434. default n
  1435. help
  1436. Build all libraries and executables with propolice protection enabled.
  1437. config UCLIBC_BUILD_RELRO
  1438. bool "Build uClibc with RELRO"
  1439. depends on HAVE_SHARED
  1440. default y
  1441. help
  1442. Build all libraries and executables with -z relro.
  1443. config UCLIBC_BUILD_NOW
  1444. bool "Build uClibc with NOW"
  1445. depends on HAVE_SHARED
  1446. default n
  1447. help
  1448. Build all libraries and executables with -z now.
  1449. config UCLIBC_BUILD_NOEXECSTACK
  1450. bool "Build uClibc with noexecstack marking"
  1451. default y
  1452. help
  1453. Mark all assembler files as noexecstack. This will result in marking
  1454. all libraries and executables built against uClibc not requiring
  1455. executable stack.
  1456. endmenu
  1457. menu "uClibc development/debugging options"
  1458. config CROSS_COMPILER_PREFIX
  1459. string "Cross-compiling toolchain prefix"
  1460. default ""
  1461. help
  1462. The prefix used to execute your cross-compiling toolchain. For
  1463. example, if you run 'arm-linux-uclibc-gcc' to compile something,
  1464. then enter 'arm-linux-uclibc-' here.
  1465. config UCLIBC_EXTRA_CFLAGS
  1466. string "Enter any extra CFLAGS to use to build uClibc"
  1467. default ""
  1468. help
  1469. Add any additional CFLAGS to be used to build uClibc.
  1470. config DODEBUG
  1471. bool "Build uClibc with debugging symbols"
  1472. default n
  1473. select EXTRA_WARNINGS
  1474. help
  1475. Say Y here if you wish to compile uClibc with debugging symbols.
  1476. This will allow you to use a debugger to examine uClibc internals
  1477. while applications are running. This increases the size of the
  1478. library considerably and should only be used when doing development.
  1479. If you are doing development and want to debug uClibc, answer Y.
  1480. Otherwise, answer N.
  1481. config DODEBUG_PT
  1482. bool "Build pthread with debugging output"
  1483. depends on UCLIBC_HAS_THREADS && LINUXTHREADS_OLD
  1484. default n
  1485. help
  1486. Enable debug output in libpthread. This is only useful when doing
  1487. development in libpthread itself.
  1488. Otherwise, answer N.
  1489. config DOSTRIP
  1490. bool "Strip libraries and executables"
  1491. default y
  1492. depends on !DODEBUG
  1493. help
  1494. Say Y here if you do wish to strip all uClibc libraries and
  1495. executables. No stripping increases the size of the binaries
  1496. considerably, but makes it possible to debug uClibc libraries.
  1497. Most people will answer Y.
  1498. config DOASSERTS
  1499. bool "Build uClibc with run-time assertion testing"
  1500. default n
  1501. help
  1502. Say Y here to include runtime assertion tests.
  1503. This enables runtime assertion testing in some code, which can
  1504. increase the size of the library and incur runtime overhead.
  1505. If you say N, then this testing will be disabled.
  1506. config SUPPORT_LD_DEBUG
  1507. bool "Build the shared library loader with debugging support"
  1508. depends on HAVE_SHARED
  1509. default n
  1510. help
  1511. Answer Y here to enable all the extra code needed to debug the uClibc
  1512. native shared library loader. The level of debugging noise that is
  1513. generated depends on the LD_DEBUG environment variable... Just set
  1514. LD_DEBUG to something like: 'LD_DEBUG=token1,token2,.. prog' to
  1515. debug your application. Diagnostic messages will then be printed to
  1516. the stderr.
  1517. For now these debugging tokens are available:
  1518. detail provide more information for some options
  1519. move display copy processing
  1520. symbols display symbol table processing
  1521. reloc display relocation processing; detail shows the relocation patch
  1522. nofixups never fixes up jump relocations
  1523. bindings displays the resolve processing (function calls); detail shows the relocation patch
  1524. all Enable everything!
  1525. The additional environment variable:
  1526. LD_DEBUG_OUTPUT=file
  1527. redirects the diagnostics to an output file created using
  1528. the specified name and the process id as a suffix.
  1529. An excellent start is simply:
  1530. $ LD_DEBUG=binding,move,symbols,reloc,detail ./appname
  1531. or to log everything to a file named 'logfile', try this
  1532. $ LD_DEBUG=all LD_DEBUG_OUTPUT=logfile ./appname
  1533. If you are doing development and want to debug uClibc's shared library
  1534. loader, answer Y. Mere mortals answer N.
  1535. config SUPPORT_LD_DEBUG_EARLY
  1536. bool "Build the shared library loader with early debugging support"
  1537. depends on HAVE_SHARED
  1538. default n
  1539. help
  1540. Answer Y here to if you find the uClibc shared library loader is
  1541. crashing or otherwise not working very early on. This is typical
  1542. only when starting a new port when you haven't figured out how to
  1543. properly get the values for argc, argv, environ, etc. This method
  1544. allows a degree of visibility into the very early shared library
  1545. loader initialization process. If you are doing development and want
  1546. to debug the uClibc shared library loader early initialization,
  1547. answer Y. Mere mortals answer N.
  1548. config UCLIBC_MALLOC_DEBUGGING
  1549. bool "Build malloc with debugging support"
  1550. depends on MALLOC || MALLOC_STANDARD
  1551. default n
  1552. help
  1553. Answer Y here to compile extra debugging support code into malloc.
  1554. Malloc debugging output may then be enabled at runtime using the
  1555. MALLOC_DEBUG environment variable.
  1556. The value of MALLOC_DEBUG should be an integer, which is interpreted as
  1557. a bitmask with the following bits:
  1558. 1 - do extra consistency checking
  1559. 2 - output messages for malloc/free calls and OS allocation calls
  1560. 4 - output messages for the `MMB' layer
  1561. 8 - output messages for internal malloc heap manipulation calls
  1562. Because this increases the size of malloc appreciably (due to strings
  1563. etc), you should say N unless you need to debug a malloc problem.
  1564. config WARNINGS
  1565. string "Compiler Warnings"
  1566. default "-Wall"
  1567. help
  1568. Set this to the set of gcc warnings you wish to see while compiling.
  1569. config EXTRA_WARNINGS
  1570. bool "Enable extra annoying warnings"
  1571. default n
  1572. help
  1573. If you wish to build with extra warnings enabled, say Y here.
  1574. config DOMULTI
  1575. bool "Compile all sources at once into an object"
  1576. default n
  1577. help
  1578. Set this to compile all sources at once into an object (IMA).
  1579. config UCLIBC_MJN3_ONLY
  1580. bool "Manuel's hidden warnings"
  1581. default n
  1582. help
  1583. Answer Y here to see all Manuel's personal notes, warnings, and todos.
  1584. Most people will answer N.
  1585. endmenu