Config.in 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. mainmenu "uClibc $VERSION C Library Configuration"
  6. config DESIRED_TARGET_ARCH
  7. string
  8. option env="ARCH"
  9. config VERSION
  10. string
  11. option env="VERSION"
  12. choice
  13. prompt "Target Architecture"
  14. default TARGET_alpha if DESIRED_TARGET_ARCH = "alpha"
  15. default TARGET_arm if DESIRED_TARGET_ARCH = "arm"
  16. default TARGET_avr32 if DESIRED_TARGET_ARCH = "avr32"
  17. default TARGET_bfin if DESIRED_TARGET_ARCH = "bfin"
  18. default TARGET_cris if DESIRED_TARGET_ARCH = "cris"
  19. default TARGET_e1 if DESIRED_TARGET_ARCH = "e1"
  20. default TARGET_frv if DESIRED_TARGET_ARCH = "frv"
  21. default TARGET_h8300 if DESIRED_TARGET_ARCH = "h8300"
  22. default TARGET_hppa if DESIRED_TARGET_ARCH = "hppa"
  23. default TARGET_i386 if DESIRED_TARGET_ARCH = "i386"
  24. default TARGET_i960 if DESIRED_TARGET_ARCH = "i960"
  25. default TARGET_ia64 if DESIRED_TARGET_ARCH = "ia64"
  26. default TARGET_m68k if DESIRED_TARGET_ARCH = "m68k"
  27. default TARGET_metag if DESIRED_TARGET_ARCH = "metag"
  28. default TARGET_microblaze if DESIRED_TARGET_ARCH = "microblaze"
  29. default TARGET_mips if DESIRED_TARGET_ARCH = "mips"
  30. default TARGET_nios if DESIRED_TARGET_ARCH = "nios"
  31. default TARGET_nios2 if DESIRED_TARGET_ARCH = "nios2"
  32. default TARGET_powerpc if DESIRED_TARGET_ARCH = "powerpc"
  33. default TARGET_sh if DESIRED_TARGET_ARCH = "sh"
  34. default TARGET_sh64 if DESIRED_TARGET_ARCH = "sh64"
  35. default TARGET_sparc if DESIRED_TARGET_ARCH = "sparc"
  36. default TARGET_v850 if DESIRED_TARGET_ARCH = "v850"
  37. default TARGET_vax if DESIRED_TARGET_ARCH = "vax"
  38. default TARGET_x86_64 if DESIRED_TARGET_ARCH = "x86_64"
  39. default TARGET_xtensa if DESIRED_TARGET_ARCH = "xtensa"
  40. help
  41. The architecture of your target.
  42. config TARGET_alpha
  43. bool "alpha"
  44. config TARGET_arm
  45. bool "arm"
  46. config TARGET_avr32
  47. bool "avr32"
  48. config TARGET_bfin
  49. bool "bfin"
  50. config TARGET_c6x
  51. bool "c6x"
  52. config TARGET_cris
  53. bool "cris"
  54. config TARGET_e1
  55. bool "e1 (BROKEN)"
  56. config TARGET_frv
  57. bool "frv (BROKEN)"
  58. config TARGET_h8300
  59. bool "h8300 (BROKEN)"
  60. config TARGET_hppa
  61. bool "hppa"
  62. config TARGET_i386
  63. bool "i386"
  64. config TARGET_i960
  65. bool "i960 (BROKEN)"
  66. config TARGET_ia64
  67. bool "ia64"
  68. config TARGET_m68k
  69. bool "m68k"
  70. config TARGET_metag
  71. bool "metag"
  72. config TARGET_microblaze
  73. bool "microblaze"
  74. config TARGET_mips
  75. bool "mips"
  76. config TARGET_nios
  77. bool "nios"
  78. config TARGET_nios2
  79. bool "nios2"
  80. config TARGET_powerpc
  81. bool "powerpc"
  82. config TARGET_sh
  83. bool "superh"
  84. config TARGET_sh64
  85. bool "sh64"
  86. config TARGET_sparc
  87. bool "sparc"
  88. config TARGET_v850
  89. bool "v850 (BROKEN)"
  90. config TARGET_vax
  91. bool "vax"
  92. config TARGET_x86_64
  93. bool "x86_64"
  94. config TARGET_xtensa
  95. bool "xtensa"
  96. endchoice
  97. menu "Target Architecture Features and Options"
  98. if TARGET_alpha
  99. source "extra/Configs/Config.alpha"
  100. endif
  101. if TARGET_arm
  102. source "extra/Configs/Config.arm"
  103. endif
  104. if TARGET_avr32
  105. source "extra/Configs/Config.avr32"
  106. endif
  107. if TARGET_bfin
  108. source "extra/Configs/Config.bfin"
  109. endif
  110. if TARGET_cris
  111. source "extra/Configs/Config.cris"
  112. endif
  113. if TARGET_e1
  114. source "extra/Configs/Config.e1"
  115. endif
  116. if TARGET_frv
  117. source "extra/Configs/Config.frv"
  118. endif
  119. if TARGET_h8300
  120. source "extra/Configs/Config.h8300"
  121. endif
  122. if TARGET_hppa
  123. source "extra/Configs/Config.hppa"
  124. endif
  125. if TARGET_i386
  126. source "extra/Configs/Config.i386"
  127. endif
  128. if TARGET_i960
  129. source "extra/Configs/Config.i960"
  130. endif
  131. if TARGET_ia64
  132. source "extra/Configs/Config.ia64"
  133. endif
  134. if TARGET_m68k
  135. source "extra/Configs/Config.m68k"
  136. endif
  137. if TARGET_metag
  138. source "extra/Configs/Config.metag"
  139. endif
  140. if TARGET_nios
  141. source "extra/Configs/Config.nios"
  142. endif
  143. if TARGET_nios2
  144. source "extra/Configs/Config.nios2"
  145. endif
  146. if TARGET_microblaze
  147. source "extra/Configs/Config.microblaze"
  148. endif
  149. if TARGET_mips
  150. source "extra/Configs/Config.mips"
  151. endif
  152. if TARGET_powerpc
  153. source "extra/Configs/Config.powerpc"
  154. endif
  155. if TARGET_sh
  156. source "extra/Configs/Config.sh"
  157. endif
  158. if TARGET_sh64
  159. source "extra/Configs/Config.sh64"
  160. endif
  161. if TARGET_sparc
  162. source "extra/Configs/Config.sparc"
  163. endif
  164. if TARGET_v850
  165. source "extra/Configs/Config.v850"
  166. endif
  167. if TARGET_vax
  168. source "extra/Configs/Config.vax"
  169. endif
  170. if TARGET_x86_64
  171. source "extra/Configs/Config.x86_64"
  172. endif
  173. if TARGET_xtensa
  174. source "extra/Configs/Config.xtensa"
  175. endif
  176. if TARGET_c6x
  177. source "extra/Configs/Config.c6x"
  178. endif
  179. config TARGET_SUBARCH
  180. string
  181. default "e500" if CONFIG_E500
  182. default "classic" if CONFIG_CLASSIC
  183. default "sh4" if CONFIG_SH4
  184. default "" if CONFIG_386
  185. default "i486" if CONFIG_486
  186. default "i586" if CONFIG_586
  187. default "i686" if CONFIG_686
  188. default ""
  189. source "extra/Configs/Config.in.arch"
  190. endmenu
  191. menu "General Library Settings"
  192. config HAVE_NO_PIC
  193. bool
  194. config DOPIC
  195. bool "Generate only Position Independent Code (PIC)"
  196. default y
  197. depends on !HAVE_NO_PIC
  198. help
  199. If you wish to build all of uClibc as PIC objects, then answer Y here.
  200. If you are unsure, then you should answer N.
  201. config ARCH_HAS_NO_SHARED
  202. bool
  203. config ARCH_HAS_NO_LDSO
  204. bool
  205. select ARCH_HAS_NO_SHARED
  206. config ARCH_HAS_UCONTEXT
  207. bool
  208. config HAVE_SHARED
  209. bool "Enable shared libraries"
  210. depends on !ARCH_HAS_NO_SHARED
  211. default y
  212. help
  213. If you wish to build uClibc with support for shared libraries then
  214. answer Y here. If you only want to build uClibc as a static library,
  215. then answer N.
  216. config FORCE_SHAREABLE_TEXT_SEGMENTS
  217. bool "Only load shared libraries which can share their text segment"
  218. depends on HAVE_SHARED
  219. select DOPIC
  220. help
  221. If you answer Y here, the uClibc native shared library loader will
  222. only load shared libraries, which do not need to modify any
  223. non-writable segments. These libraries haven't set the DT_TEXTREL
  224. tag in the dynamic section (==> objdump).
  225. All your libraries must be compiled with -fPIC or -fpic, and all
  226. assembler function must be written as position independent code (PIC).
  227. Enabling this option will make uClibc's shared library loader a
  228. little bit smaller and guarantee that no memory will be wasted by
  229. badly coded shared libraries.
  230. config LDSO_LDD_SUPPORT
  231. bool "Native 'ldd' support"
  232. depends on HAVE_SHARED
  233. default y
  234. help
  235. Enable all the code needed to support traditional ldd,
  236. which executes the shared library loader to resolve all dependencies
  237. and then provide a list of shared libraries that are required for an
  238. application to function. Disabling this option will make uClibc's
  239. shared library loader a little bit smaller.
  240. Most people will answer Y.
  241. config LDSO_CACHE_SUPPORT
  242. bool "Enable library loader cache (ld.so.conf)"
  243. depends on HAVE_SHARED
  244. default y
  245. help
  246. Enable this to make use of /etc/ld.so.conf, the shared library loader
  247. cache configuration file to support for non-standard library paths.
  248. After updating this file, it is necessary to run 'ldconfig' to update
  249. the /etc/ld.so.cache shared library loader cache file.
  250. config LDSO_PRELOAD_ENV_SUPPORT
  251. bool "Enable library loader LD_PRELOAD environment"
  252. depends on HAVE_SHARED
  253. default y
  254. help
  255. Enable this to make use of LD_PRELOAD environment variable.
  256. A whitespace-separated list of additional, user-specified, ELF shared
  257. libraries to be loaded before all others. This can be used to
  258. selectively override functions in other shared libraries. For
  259. set-user-ID/set-group-ID ELF binaries, only libraries in the standard
  260. search directories that are also set-user-ID will be loaded.
  261. config LDSO_PRELOAD_FILE_SUPPORT
  262. bool "Enable library loader preload file (ld.so.preload)"
  263. depends on HAVE_SHARED
  264. help
  265. Enable this to make use of /etc/ld.so.preload. This file contains a
  266. whitespace separated list of shared libraries to be loaded before
  267. the program.
  268. config LDSO_BASE_FILENAME
  269. string "Shared library loader naming prefix"
  270. depends on HAVE_SHARED && (LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT)
  271. default "ld.so"
  272. help
  273. If you wish to support both uClibc and glibc on the same system, it
  274. is necessary to set this to something other than "ld.so" to avoid
  275. conflicts with glibc, which also uses "ld.so". This prevents both
  276. libraries from using the same /etc/ld.so.* files. If you wish to
  277. support both uClibc and glibc on the same system then you should set
  278. this to "ld-uClibc.so".
  279. Most people will leave this set to the default of "ld.so".
  280. WARNING: Changing the default prefix could cause problems with
  281. binutils' ld !
  282. config LDSO_STANDALONE_SUPPORT
  283. bool "Dynamic linker stand-alone mode support"
  284. depends on HAVE_SHARED
  285. help
  286. The dynamic linker can be run either indirectly through running some
  287. dynamically linked program or library (in which case no command line
  288. options to the dynamic linker can be passed and, in the ELF case, the
  289. dynamic linker which is stored in the .interp section of the program
  290. is executed) or directly by running:
  291. /lib/ld-uClibc.so.* [OPTIONS] [PROGRAM [ARGUMENTS]]
  292. Stand-alone execution is a prerequisite for adding prelink
  293. capabilities to uClibc dynamic linker, as well useful for testing an
  294. updated version of the dynamic linker without breaking the system.
  295. config LDSO_PRELINK_SUPPORT
  296. bool "Dynamic linker prelink support"
  297. depends on HAVE_SHARED
  298. select LDSO_STANDALONE_SUPPORT
  299. help
  300. The dynamic linker can be used in stand-alone mode by the prelink tool
  301. for prelinking ELF shared libraries and binaries to speed up startup
  302. time. It also is able to load and handle prelinked libraries and
  303. binaries at runtime.
  304. config UCLIBC_STATIC_LDCONFIG
  305. bool "Link ldconfig statically"
  306. depends on HAVE_SHARED
  307. default y
  308. help
  309. Enable this option to statically link the ldconfig binary.
  310. Making ldconfig static can be beneficial if you have a library
  311. problem and need to use ldconfig to recover. Sometimes it is
  312. preferable to instead keep the size of the system down, in which
  313. case you should disable this option.
  314. config LDSO_RUNPATH
  315. bool "Enable ELF RUNPATH tag support"
  316. depends on HAVE_SHARED
  317. default y if LDSO_CACHE_SUPPORT
  318. help
  319. ELF's may have dynamic RPATH/RUNPATH tags. These tags list paths
  320. which extend the library search paths. They are really only useful
  321. if a package installs libraries in non standard locations and
  322. ld.so.conf support is disabled.
  323. Usage of RUNPATH tags is not too common, so disabling this feature
  324. should be safe for most people.
  325. config LDSO_SAFE_RUNPATH
  326. bool "Allow only RUNPATH beginning with /"
  327. depends on LDSO_RUNPATH
  328. default y
  329. help
  330. Allow only absolute path in RPATH/RUNPATH.
  331. config LDSO_SEARCH_INTERP_PATH
  332. bool "Add ldso path to lib search path"
  333. depends on HAVE_SHARED
  334. default y
  335. help
  336. The ldso is told where it is being executed from and can use that
  337. path to find related core libraries. This is useful by default,
  338. but can be annoying in a mixed development environment.
  339. i.e. if the ldso is run from /foo/boo/ldso.so, it will start its
  340. library search with /foo/boo/
  341. If unsure, simply say Y here.
  342. config LDSO_LD_LIBRARY_PATH
  343. bool "Add LD_LIBRARY_PATH to lib search path"
  344. depends on HAVE_SHARED
  345. default y
  346. help
  347. On hardened system it could be useful to disable the use of
  348. LD_LIBRARY_PATH environment variable (a colon-separated list of
  349. directories in which to search for ELF libraries at execution-time).
  350. If unsure, simply say Y here.
  351. config LDSO_NO_CLEANUP
  352. bool "Disable automatic unloading of dynamically loaded shared objects"
  353. depends on HAVE_SHARED
  354. help
  355. If you need complete allocation traces when debugging memory leaks
  356. using Valgrind in a process that dynamically loads shared objects,
  357. then answer Y here. Unlike glibc, uClibc unloads all dynamically
  358. loaded shared objects when a process exits, which prevents Valgrind
  359. from correctly resolving the symbols from the unloaded shared objects.
  360. Unless you know you need this, you should answer N.
  361. config UCLIBC_CTOR_DTOR
  362. bool "Support global constructors and destructors"
  363. default y
  364. help
  365. If you wish to build uClibc with support for global constructor
  366. (ctor) and global destructor (dtor) support, then answer Y here.
  367. When ctor/dtor support is enabled, binaries linked with uClibc must
  368. also be linked with crtbegin.o and crtend.o which are provided by gcc
  369. (the "*startfile:" and "*endfile:" settings in your gcc specs file
  370. may need to be adjusted to include these files). This support will
  371. also add a small amount of additional size to each binary compiled vs
  372. uClibc. If you will be using uClibc with C++, or if you need the gcc
  373. __attribute__((constructor)) and __attribute__((destructor)) to work,
  374. then you definitely want to answer Y here. If you don't need ctors
  375. or dtors and want your binaries to be as small as possible, then
  376. answer N.
  377. config LDSO_GNU_HASH_SUPPORT
  378. bool "Enable GNU hash style support"
  379. depends on HAVE_SHARED
  380. help
  381. Newest binutils support a new hash style named GNU-hash. The dynamic
  382. linker will use the new GNU-hash section (.gnu.hash) for symbol lookup
  383. if present into the ELF binaries, otherwise it will use the old SysV
  384. hash style (.hash). This ensures that it is completely backward
  385. compatible.
  386. Further, being the hash table implementation self-contained into each
  387. executable and shared libraries, objects with mixed hash style can
  388. peacefully coexist in the same process.
  389. If you want to use this new feature, answer Y
  390. choice
  391. prompt "Thread support"
  392. #default UCLIBC_HAS_THREADS_NATIVE if (TARGET_alpha || TARGET_arm || TARGET_i386 || TARGET_mips || TARGET_powerpc || TARGET_sh || TARGET_sh64)
  393. default HAS_NO_THREADS
  394. help
  395. If you want to compile uClibc with pthread support, then answer Y.
  396. This will increase the size of uClibc by adding a bunch of locking
  397. to critical data structures, and adding extra code to ensure that
  398. functions are properly reentrant.
  399. config HAS_NO_THREADS
  400. bool "none"
  401. help
  402. Disable thread support.
  403. config LINUXTHREADS_OLD
  404. bool "older (stable) version of linuxthreads"
  405. # linuxthreads and linuxthreads.old need nanosleep()
  406. select UCLIBC_HAS_REALTIME
  407. help
  408. There are two versions of linuxthreads. The older (stable) version
  409. has been in uClibc for quite a long time but hasn't seen too many
  410. updates other than bugfixes.
  411. config LINUXTHREADS_NEW
  412. bool "slightly newer version of linuxthreads"
  413. depends on ARCH_HAS_DEPRECATED_SYSCALLS
  414. help
  415. The new version has not been tested much, and lacks ports for arches
  416. which glibc does not support (like bfin/frv/etc...), but is based on
  417. the latest code from glibc, so it may be the only choice for the
  418. newer ports (like alpha/amd64/64bit arches and hppa).
  419. config UCLIBC_HAS_THREADS_NATIVE
  420. bool "Native POSIX Threading (NPTL)"
  421. select UCLIBC_HAS_TLS
  422. select UCLIBC_HAS_STDIO_FUTEXES
  423. select UCLIBC_HAS_REALTIME
  424. # i386 has no lowlevellock support (yet) as opposed to i486 onward
  425. depends on !CONFIG_386
  426. help
  427. If you want to compile uClibc with NPTL support, then answer Y.
  428. IMPORTANT NOTE! NPTL requires a Linux 2.6 kernel, binutils
  429. at least version 2.16 and GCC with at least version 4.1.0. NPTL
  430. will not work with older versions of any above sources. If you
  431. ignore any of these guidelines, you do so at your own risk. Do
  432. not ask for help on any of the development mailing lists.
  433. !!!! WARNING !!!! BIG FAT WARNING !!!! REALLY BIG FAT WARNING !!!!
  434. This is experimental code and at times it may not even build and
  435. even if it does it might decide to do random damage. This code is
  436. potentially hazardous to your health and sanity. It will remain
  437. that way until further notice at which point this notice will
  438. disappear. Thank you for your support and for not smoking.
  439. endchoice
  440. config UCLIBC_HAS_THREADS
  441. def_bool y if !HAS_NO_THREADS
  442. config UCLIBC_HAS_TLS
  443. bool "Thread-Local Storage"
  444. depends on UCLIBC_HAS_THREADS_NATIVE
  445. help
  446. If you want to enable TLS support then answer Y.
  447. This is fast an efficient way to store per-thread local data
  448. which is not on stack. It needs __thread support enabled in
  449. gcc.
  450. config PTHREADS_DEBUG_SUPPORT
  451. bool "Build pthreads debugging support"
  452. depends on UCLIBC_HAS_THREADS
  453. help
  454. Say Y here if you wish to be able to debug applications that use
  455. uClibc's pthreads library. By enabling this option, a library
  456. named libthread_db will be built. This library will be dlopen()'d
  457. by gdb and will allow gdb to debug the threads in your application.
  458. IMPORTANT NOTE! Because gdb must dlopen() the libthread_db library,
  459. you must compile gdb with uClibc in order for pthread debugging to
  460. work properly.
  461. If you are doing development and want to debug applications using
  462. uClibc's pthread library, answer Y. Otherwise, answer N.
  463. config UCLIBC_HAS_SYSLOG
  464. bool "Syslog support"
  465. default y
  466. depends on UCLIBC_HAS_NETWORK_SUPPORT
  467. select UCLIBC_HAS_SOCKET
  468. help
  469. Support sending messages to the system logger.
  470. This requires socket-support.
  471. config UCLIBC_HAS_LFS
  472. bool "Large File Support"
  473. default y
  474. help
  475. If you wish to build uClibc with support for accessing large files
  476. (i.e. files greater then 2 GiB) then answer Y. Do not enable this
  477. if you are using an older Linux kernel (2.0.x) that lacks large file
  478. support. Enabling this option will increase the size of uClibc.
  479. choice
  480. prompt "Malloc Implementation"
  481. default MALLOC if ! ARCH_USE_MMU
  482. default MALLOC_STANDARD if ARCH_USE_MMU
  483. config MALLOC
  484. bool "malloc"
  485. help
  486. "malloc" use mmap for all allocations and so works very well on
  487. MMU-less systems that do not support the brk() system call. It is
  488. pretty smart about reusing already allocated memory, and minimizing
  489. memory wastage.
  490. This is the default for uClinux MMU-less systems.
  491. config MALLOC_SIMPLE
  492. bool "malloc-simple"
  493. help
  494. "malloc-simple" is trivially simple and slow as molasses. It
  495. was written from scratch for uClibc, and is the simplest possible
  496. (and therefore smallest) malloc implementation.
  497. This uses only the mmap() system call to allocate and free memory,
  498. and does not use the brk() system call at all, making it a fine
  499. choice for MMU-less systems with very limited memory. It's 100%
  500. standards compliant, thread safe, very small, and releases freed
  501. memory back to the OS immediately rather than keeping it in the
  502. process's heap for reallocation. It is also VERY SLOW.
  503. config MALLOC_STANDARD
  504. bool "malloc-standard"
  505. depends on ARCH_USE_MMU
  506. help
  507. "malloc-standard" is derived from the public domain dlmalloc
  508. implementation by Doug Lea. It is quite fast, and is pretty smart
  509. about reusing already allocated memory, and minimizing memory
  510. wastage. This uses brk() for small allocations, while using mmap()
  511. for larger allocations. This is the default malloc implementation
  512. for uClibc.
  513. If unsure, answer "malloc-standard".
  514. endchoice
  515. config MALLOC_GLIBC_COMPAT
  516. bool "Malloc returns live pointer for malloc(0)"
  517. help
  518. The behavior of malloc(0) is listed as implementation-defined by
  519. SuSv3. Glibc returns a valid pointer to something, while uClibc
  520. normally returns NULL. I personally feel glibc's behavior is
  521. not particularly safe, and allows buggy applications to hide very
  522. serious problems.
  523. When this option is enabled, uClibc will act just like glibc, and
  524. return a live pointer when someone calls malloc(0). This pointer
  525. provides a malloc'ed area with a size of 1 byte. This feature is
  526. mostly useful when dealing with applications using autoconf's broken
  527. AC_FUNC_MALLOC macro (which redefines malloc as rpl_malloc if it
  528. does not detect glibc style returning-a-valid-pointer-for-malloc(0)
  529. behavior). Most people can safely answer N.
  530. config UCLIBC_HAS_OBSTACK
  531. bool "Obstack Support (gnu extension)"
  532. help
  533. When this option is enabled, uClibc will provide support for obstacks.
  534. An obstack is a structure in which memory can be dynamically allocated
  535. as a 'stack of objects'. Many programs need this GNU extention and
  536. you should say Y if you are using any. Otherwise, say N to save some
  537. space.
  538. config UCLIBC_DYNAMIC_ATEXIT
  539. bool "Dynamic atexit() Support"
  540. default y
  541. help
  542. When this option is enabled, uClibc will support an infinite number,
  543. of atexit() and on_exit() functions, limited only by your available
  544. memory. This can be important when uClibc is used with C++, since
  545. global destructors are implemented via atexit(), and it is quite
  546. possible to exceed the default number when this option is disabled.
  547. Enabling this option adds a few bytes, and more significantly makes
  548. atexit and on_exit depend on malloc, which can be bad when compiling
  549. static executables.
  550. Unless you use uClibc with C++, you should probably answer N.
  551. config COMPAT_ATEXIT
  552. bool "Old (visible) atexit Support"
  553. help
  554. Enable this option if you want to update from 0.9.28 to git/0.9.29,
  555. else you will be missing atexit() until you rebuild all apps.
  556. config UCLIBC_SUSV2_LEGACY
  557. bool "Enable SuSv2 LEGACY functions"
  558. help
  559. Enable this option if you want to have SuSv2 LEGACY functions
  560. Currently applies to:
  561. valloc
  562. WARNING! ABI incompatibility.
  563. config UCLIBC_SUSV3_LEGACY
  564. bool "Enable SuSv3 LEGACY functions"
  565. #vfork,
  566. # h_errno
  567. # gethostbyaddr
  568. # gethostbyname
  569. help
  570. Enable this option if you want to have SuSv3 LEGACY functions
  571. in the library, else they are replaced by SuSv3 proposed macros.
  572. Currently applies to:
  573. bcmp, bcopy, bzero, index, rindex, ftime,
  574. bsd_signal, (ecvt), (fcvt), gcvt, (getcontext),
  575. (getwd), (makecontext),
  576. mktemp, (pthread_attr_getstackaddr), (pthread_attr_setstackaddr),
  577. scalb, (setcontext), (swapcontext), ualarm, usleep,
  578. wcswcs.
  579. WARNING! ABI incompatibility.
  580. config UCLIBC_HAS_CONTEXT_FUNCS
  581. bool "Use obsolescent context control functions"
  582. depends on UCLIBC_SUSV3_LEGACY && ARCH_HAS_UCONTEXT
  583. help
  584. Add into library the SuSv3 obsolescent functions used for context
  585. control. The setcontext family allows the implementation in C of
  586. advanced control flow patterns such as iterators, fibers, and
  587. coroutines. They may be viewed as an advanced version of
  588. setjmp/longjmp; whereas the latter allows only a single non-local jump
  589. up the stack, setcontext allows the creation of multiple cooperative
  590. threads of control, each with its own stack.
  591. These functions are: setcontext, getcontext, makecontext, swapcontext.
  592. config UCLIBC_SUSV3_LEGACY_MACROS
  593. bool "Enable SuSv3 LEGACY macros"
  594. help
  595. Enable this option if you want to have SuSv3 LEGACY macros.
  596. Currently applies to bcopy/bzero/bcmp/index/rindex et al.
  597. WARNING! ABI incompatibility.
  598. config UCLIBC_SUSV4_LEGACY
  599. bool "Enable SuSv4 LEGACY or obsolescent functions"
  600. help
  601. Enable this option if you want to have SuSv4 LEGACY functions
  602. and macros in the library.
  603. Currently applies to:
  604. - XSI functions:
  605. _longjmp, _setjmp, _tolower, _toupper, ftw, getitimer,
  606. gettimeofday, isascii, pthread_getconcurrency,
  607. pthread_setconcurrency, setitimer, setpgrp, sighold,
  608. sigignore, sigpause, sigrelse, sigset, siginterrupt,
  609. tempnam, toascii, ulimit.
  610. - Base functions:
  611. asctime, asctime_r, ctime, ctime_r, gets, rand_r,
  612. tmpnam, utime.
  613. WARNING! ABI incompatibility.
  614. config UCLIBC_STRICT_HEADERS
  615. bool "Hide structures and constants for unsupported features"
  616. help
  617. Hide structures and constants in headers that should not be used,
  618. because the respective feature is disabled.
  619. WARNING! enabling this option requires to patch many faulty apps,
  620. since they make (wrongly) use of these structures/constants,
  621. although the feature was disabled.
  622. config UCLIBC_HAS_STUBS
  623. bool "Provide stubs for unavailable functionality"
  624. help
  625. With this option uClibc provides non-functional stubs for
  626. functions which are impossible to implement on the target
  627. architecture. Otherwise, such functions are simply omitted.
  628. config UCLIBC_HAS_SHADOW
  629. bool "Shadow Password Support"
  630. default y
  631. help
  632. Answer N if you do not need shadow password support.
  633. Most people will answer Y.
  634. config UCLIBC_HAS_PROGRAM_INVOCATION_NAME
  635. bool "Support for program_invocation_name"
  636. help
  637. Support for the GNU-specific program_invocation_name and
  638. program_invocation_short_name strings. Some GNU packages
  639. (like tar and coreutils) utilize these for extra useful
  640. output, but in general are not required.
  641. At startup, these external strings are automatically set
  642. up based on the value of ARGV[0].
  643. If unsure, just answer N.
  644. config UCLIBC_HAS___PROGNAME
  645. bool "Support for __progname"
  646. default y
  647. help
  648. Some packages (like openssh) like to peek into internal libc
  649. symbols to make their output a bit more user friendly.
  650. At startup, __progname is automatically set up based on the
  651. value of ARGV[0].
  652. If unsure, just answer N.
  653. config UCLIBC_HAS_PTY
  654. bool "Support for pseudo-terminals"
  655. default y
  656. help
  657. This enables support for pseudo-terminals (see man 4 pts
  658. and man 7 pty).
  659. If unsure, just answer Y.
  660. config ASSUME_DEVPTS
  661. bool "Assume that /dev/pts is a devpts or devfs file system"
  662. default y
  663. depends on UCLIBC_HAS_PTY
  664. help
  665. Enable this if /dev/pts is on a devpts or devfs filesystem. Both
  666. these filesystems automatically manage permissions on the /dev/pts
  667. devices. You may need to mount your devpts or devfs filesystem on
  668. /dev/pts for this to work.
  669. Most people should answer Y.
  670. config UNIX98PTY_ONLY
  671. bool "Support only Unix 98 PTYs"
  672. default y
  673. depends on UCLIBC_HAS_PTY
  674. help
  675. If you want to support only Unix 98 PTYs enable this. Some older
  676. applications may need this disabled and will thus use legacy BSD
  677. style PTY handling which is more complex and also bigger than
  678. Unix 98 PTY handling.
  679. For most current programs, you can generally answer Y.
  680. if UNIX98PTY_ONLY
  681. config UCLIBC_HAS_GETPT
  682. bool "Support getpt() (glibc-compat)"
  683. depends on UCLIBC_HAS_PTY
  684. help
  685. Some packages may need getpt().
  686. All of those are non-standard and can be considered
  687. GNU/libc compatibility.
  688. Either use posix_openpt() or just open /dev/ptmx yourself.
  689. If unsure, just say N.
  690. endif
  691. if !UNIX98PTY_ONLY
  692. # Have to use __libc_ptyname{1,2}[] and related bloat
  693. config UCLIBC_HAS_GETPT
  694. def_bool y
  695. endif
  696. config UCLIBC_HAS_LIBUTIL
  697. bool "Provide libutil library and functions"
  698. depends on UCLIBC_HAS_PTY
  699. help
  700. Provide a libutil library.
  701. This non-standard conforming library provides the following
  702. utility functions:
  703. forkpty(): combines openpty(), fork(2), and login_tty() to
  704. create a new process operating in a pseudo-terminal.
  705. login(): write utmp and wtmp entries
  706. login_tty(): prepares for a login on the tty fd by creating a
  707. new session, making fd the controlling terminal for
  708. the calling process, setting fd to be the standard
  709. input, output, and error streams of the current
  710. process, and closing fd.
  711. logout(): write utmp and wtmp entries
  712. logwtmp(): constructs a utmp structure and calls updwtmp() to
  713. append the structure to the utmp file.
  714. openpty(): finds an available pseudo-terminal and returns
  715. file descriptors for the master and slave
  716. This library adds about 3k-4k to your system.
  717. config UCLIBC_HAS_TM_EXTENSIONS
  718. bool "Support 'struct tm' timezone extension fields"
  719. default y
  720. help
  721. Enabling this option adds fields to 'struct tm' in time.h for
  722. tracking the number of seconds east of UTC, and an abbreviation for
  723. the current timezone. These fields are not specified by the SuSv3
  724. standard, but they are commonly used in both GNU and BSD application
  725. code.
  726. To strictly follow the SuSv3 standard, leave this disabled.
  727. Most people will probably want to answer Y.
  728. config UCLIBC_HAS_TZ_CACHING
  729. bool "Enable caching of the last valid timezone 'TZ' string"
  730. default y
  731. help
  732. Answer Y to enable caching of the last valid 'TZ' string describing
  733. the timezone setting. This allows a quick string compare to avoid
  734. repeated parsing of unchanged 'TZ' strings when tzset() is called.
  735. Most people will answer Y.
  736. config UCLIBC_HAS_TZ_FILE
  737. bool "Enable '/etc/TZ' file support to set a default timezone (uClibc-specific)"
  738. default y
  739. help
  740. Answer Y to enable the setting of a default timezone for uClibc.
  741. Ordinarily, uClibc gets the timezone information exclusively from the
  742. 'TZ' environment variable. In particular, there is no support for
  743. the zoneinfo directory tree or the /etc/timezone file used by glibc.
  744. With this option enabled, uClibc will use the value stored in the
  745. file '/etc/TZ' (default path) to obtain timezone information if the
  746. 'TZ' environment variable is missing or has an invalid value. The
  747. file consists of a single line (newline required) of text describing
  748. the timezone in the format specified for the TZ environment variable.
  749. Doing 'echo CST6CDT > /etc/TZ' is enough to create a valid file.
  750. See
  751. http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
  752. for details on valid settings of 'TZ'.
  753. Most people will answer Y.
  754. config UCLIBC_HAS_TZ_FILE_READ_MANY
  755. bool "Repeatedly read the '/etc/TZ' file"
  756. depends on UCLIBC_HAS_TZ_FILE
  757. default y
  758. help
  759. Answer Y to enable repeated reading of the '/etc/TZ' file even after
  760. a valid value has been read. This incurs the overhead of an
  761. open/read/close for each tzset() call (explicit or implied). However,
  762. setting this will allow applications to update their timezone
  763. information if the contents of the file change.
  764. Most people will answer Y.
  765. config UCLIBC_TZ_FILE_PATH
  766. string "Path to the 'TZ' file for setting the global timezone"
  767. depends on UCLIBC_HAS_TZ_FILE
  768. default "/etc/TZ"
  769. help
  770. This is the path to the 'TZ' file.
  771. Most people will use the default of '/etc/TZ'.
  772. config UCLIBC_FALLBACK_TO_ETC_LOCALTIME
  773. bool "Use /etc/localtime as a fallback"
  774. depends on UCLIBC_HAS_TZ_FILE
  775. default y
  776. help
  777. Answer Y to try to use /etc/localtime file.
  778. On glibc systems this file (if it is in TZif2 format)
  779. contains timezone string at the end.
  780. Most people will answer Y.
  781. endmenu
  782. menu "Advanced Library Settings"
  783. config UCLIBC_PWD_BUFFER_SIZE
  784. int "Buffer size for getpwnam() and friends"
  785. default 256
  786. range 12 1024
  787. help
  788. This sets the value of the buffer size for getpwnam() and friends.
  789. By default, this is 256. (For reference, glibc uses 1024).
  790. The value can be found using sysconf() with the _SC_GETPW_R_SIZE_MAX
  791. parameter.
  792. config UCLIBC_GRP_BUFFER_SIZE
  793. int "Buffer size for getgrnam() and friends"
  794. default 256
  795. range 12 1024
  796. help
  797. This sets the value of the buffer size for getgrnam() and friends.
  798. By default, this is 256. (For reference, glibc uses 1024).
  799. The value can be found using sysconf() with the _SC_GETGR_R_SIZE_MAX
  800. parameter.
  801. comment "Support various families of functions"
  802. config UCLIBC_LINUX_MODULE_26
  803. bool "Linux kernel module functions (2.6)"
  804. default y
  805. help
  806. delete_module, init_module
  807. are used in linux for loadable kernel modules.
  808. Say N if you do not use kernel modules.
  809. config UCLIBC_LINUX_MODULE_24
  810. bool "Linux kernel module functions (<2.6)"
  811. depends on !TARGET_bfin && !TARGET_c6x
  812. help
  813. create_module, query_module
  814. are used in linux (prior to 2.6) for loadable kernel modules.
  815. Say N if you do not use kernel modules, or you only support
  816. Linux 2.6+.
  817. config UCLIBC_LINUX_SPECIFIC
  818. bool "Linux specific functions"
  819. default y
  820. help
  821. accept4(), bdflush(),
  822. capget(), capset(), eventfd(), fstatfs(),
  823. inotify_*(), ioperm(), iopl(),
  824. madvise(), modify_ldt(), pipe2(), personality(),
  825. prctl()/arch_prctl(), pivot_root(), modify_ldt(),
  826. ppoll(), readahead(), reboot(), remap_file_pages(),
  827. sched_getaffinity(), sched_setaffinity(), sendfile(),
  828. setfsgid(), setfsuid(), setresgid(), setresuid(),
  829. splice(), vmsplice(), tee(), signalfd(), swapoff(), swapon(),
  830. sync_file_range(), _sysctl(), sysinfo(), timerfd_*(), vhangup(),
  831. umount(), umount2()
  832. config UCLIBC_HAS_GNU_ERROR
  833. bool "Support GNU extensions for error-reporting"
  834. default y
  835. help
  836. Support for the GNU-specific error(), error_at_line(),
  837. void (* error_print_progname)(), error_message_count
  838. functions and variables. Some GNU packages
  839. utilize these for extra useful output, but in general
  840. are not required.
  841. If unsure, just answer N.
  842. config UCLIBC_BSD_SPECIFIC
  843. bool "BSD specific functions"
  844. default y
  845. help
  846. mincore(), getdomainname(), setdomainname()
  847. If unsure, say N.
  848. config UCLIBC_HAS_BSD_ERR
  849. bool "BSD err functions"
  850. default y
  851. help
  852. These functions are non-standard BSD extensions.
  853. err(), errx(), warn(), warnx(), verr(), verrx(), vwarn(), vwarnx()
  854. If unsure, say N.
  855. config UCLIBC_HAS_OBSOLETE_BSD_SIGNAL
  856. bool "BSD obsolete signal functions"
  857. help
  858. These functions are provided as a compatibility interface for
  859. programs that make use of the historical System V signal API.
  860. This API is obsolete:
  861. new applications should use the POSIX signal API (sigaction(2),
  862. sigprocmask(2), etc.).
  863. Affected functions:
  864. sigset(), sighold(), sigrelse(), sigignore()
  865. If unsure, say N.
  866. config UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL
  867. bool "SYSV obsolete signal functions"
  868. help
  869. Use of sysv_signal() should be avoided; use sigaction(2) instead.
  870. If unsure, say N.
  871. config UCLIBC_NTP_LEGACY
  872. bool "ntp_*() aliases"
  873. help
  874. Provide legacy aliases for ntp functions:
  875. ntp_adjtime(), ntp_gettime()
  876. It is safe to say N here.
  877. config UCLIBC_SV4_DEPRECATED
  878. bool "Enable SVr4 deprecated functions"
  879. help
  880. These functions are DEPRECATED in System V release 4.
  881. Say N unless you desparately need one of the functions below:
  882. ustat() [use statfs(2) in your code instead]
  883. config UCLIBC_HAS_REALTIME
  884. bool "Realtime-related family of SUSv functions"
  885. default y
  886. help
  887. These functions are part of the Timers option and need not
  888. be available on all implementations.
  889. Includes AIO, message-queue, scheduler, semaphore functions:
  890. aio.h
  891. mqueue.h
  892. sched.h
  893. semaphore.h
  894. aio_cancel()
  895. aio_error()
  896. aio_fsync()
  897. aio_read()
  898. lio_listio()
  899. aio_return()
  900. aio_suspend()
  901. aio_write()
  902. clock_getres(), clock_gettime(), clock_settime()
  903. fdatasync()
  904. mlockall(), munlockall()
  905. mlock(), munlock()
  906. mq_close()
  907. mq_getattr()
  908. mq_notify()
  909. mq_open()
  910. mq_receive()
  911. mq_send()
  912. mq_setattr()
  913. mq_unlink()
  914. nanosleep()
  915. sched_getparam()
  916. sched_get_priority_max(), sched_get_priority_min()
  917. sched_getscheduler()
  918. sched_rr_get_interval()
  919. sched_setparam()
  920. sched_setscheduler()
  921. sem_close()
  922. sem_destroy()
  923. sem_getvalue()
  924. sem_init()
  925. sem_open()
  926. sem_post()
  927. sem_trywait(), sem_wait()
  928. sem_unlink()
  929. sigqueue()
  930. sigtimedwait(), sigwaitinfo()
  931. timer_create()
  932. timer_delete()
  933. timer_getoverrun(), timer_gettime(), timer_settime()
  934. config UCLIBC_HAS_ADVANCED_REALTIME
  935. bool "Advanced realtime-related family of SUSv functions"
  936. default y
  937. depends on UCLIBC_HAS_REALTIME
  938. help
  939. These functions are part of the Timers option and need not
  940. be available on all implementations.
  941. clock_getcpuclockid()
  942. clock_nanosleep()
  943. mq_timedreceive()
  944. mq_timedsend()
  945. posix_fadvise()
  946. posix_fallocate()
  947. posix_madvise()
  948. posix_memalign()
  949. posix_mem_offset()
  950. posix_spawnattr_destroy(), posix_spawnattr_init()
  951. posix_spawnattr_getflags(), posix_spawnattr_setflags()
  952. posix_spawnattr_getpgroup(), posix_spawnattr_setpgroup()
  953. posix_spawnattr_getschedparam(), posix_spawnattr_setschedparam()
  954. posix_spawnattr_getschedpolicy(), posix_spawnattr_setschedpolicy()
  955. posix_spawnattr_getsigdefault(), posix_spawnattr_setsigdefault()
  956. posix_spawnattr_getsigmask(), posix_spawnattr_setsigmask()
  957. posix_spawn_file_actions_addclose()
  958. posix_spawn_file_actions_adddup2()
  959. posix_spawn_file_actions_addopen()
  960. posix_spawn_file_actions_destroy()
  961. posix_spawn_file_actions_init()
  962. posix_spawn()
  963. posix_spawnp()
  964. posix_typed_mem_get_info()
  965. pthread_mutex_timedlock()
  966. sem_timedwait()
  967. #config UCLIBC_HAS_TERMIOS
  968. # bool "termios functions"
  969. # default y
  970. # help
  971. # Get and set terminal attributes, line control, get and set baud
  972. # rate.
  973. # termios(), tcgetattr(), tcsetattr(), tcsendbreak(), tcdrain(),
  974. # tcflush(), tcflow(), cfmakeraw(), cfgetospeed(), cfgetispeed(),
  975. # cfsetispeed(), cfsetospeed(), cfsetspeed()
  976. #
  977. # If unsure, say Y.
  978. config UCLIBC_HAS_EPOLL
  979. bool "epoll"
  980. default y
  981. help
  982. epoll_create(), epoll_ctl(), epoll_wait() functions.
  983. config UCLIBC_HAS_XATTR
  984. bool "Extended Attributes"
  985. default y
  986. help
  987. Extended Attributes support.
  988. setxattr()
  989. lsetxattr()
  990. fsetxattr()
  991. getxattr()
  992. lgetxattr()
  993. fgetxattr()
  994. listxattr()
  995. llistxattr()
  996. flistxattr()
  997. removexattr()
  998. lremovexattr()
  999. fremovexattr()
  1000. Say N unless you need support for extended attributes and the
  1001. filesystems do actually support them.
  1002. config UCLIBC_HAS_PROFILING
  1003. bool "Profiling support"
  1004. default y
  1005. help
  1006. gcc's -finstrument-functions needs these.
  1007. Most people can safely answer N.
  1008. config UCLIBC_HAS_CRYPT_IMPL
  1009. bool "libcrypt support"
  1010. default y
  1011. help
  1012. libcrypt contains crypt(), setkey() and encrypt()
  1013. config UCLIBC_HAS_SHA256_CRYPT_IMPL
  1014. bool "libcrypt SHA256 support"
  1015. depends on UCLIBC_HAS_CRYPT_IMPL
  1016. help
  1017. This adds support for SHA256 password hashing via the crypt() function.
  1018. Say N here if you do not need SHA256 crypt support.
  1019. config UCLIBC_HAS_SHA512_CRYPT_IMPL
  1020. bool "libcrypt SHA512 support"
  1021. depends on UCLIBC_HAS_CRYPT_IMPL
  1022. help
  1023. This adds support for SHA512 password hashing via the crypt() function.
  1024. Say N here if you do not need SHA512 crypt support.
  1025. config UCLIBC_HAS_CRYPT_STUB
  1026. bool "libcrypt stubs"
  1027. default y
  1028. depends on !UCLIBC_HAS_CRYPT_IMPL
  1029. help
  1030. Standards mandate that crypt(3) provides a stub if it is unavailable.
  1031. If you enable this option then stubs for
  1032. crypt(), setkey() and encrypt()
  1033. will be provided in a small libcrypt.
  1034. config UCLIBC_HAS_CRYPT
  1035. def_bool y
  1036. depends on UCLIBC_HAS_CRYPT_IMPL || UCLIBC_HAS_CRYPT_STUB
  1037. endmenu
  1038. menuconfig UCLIBC_HAS_NETWORK_SUPPORT
  1039. bool "Networking Support"
  1040. default y
  1041. help
  1042. Say N here if you do not need network support.
  1043. if UCLIBC_HAS_NETWORK_SUPPORT
  1044. config UCLIBC_HAS_SOCKET
  1045. bool "Socket support"
  1046. default y
  1047. help
  1048. If you want to include support for sockets then answer Y.
  1049. config UCLIBC_HAS_IPV4
  1050. bool "IP version 4 support"
  1051. default y
  1052. select UCLIBC_HAS_SOCKET
  1053. help
  1054. If you want to include support for the Internet Protocol
  1055. (IP version 4) then answer Y.
  1056. Most people will say Y.
  1057. config UCLIBC_HAS_IPV6
  1058. bool "IP version 6 support"
  1059. select UCLIBC_HAS_SOCKET
  1060. help
  1061. If you want to include support for the next version of the Internet
  1062. Protocol (IP version 6) then answer Y.
  1063. Most people should answer N.
  1064. config UCLIBC_HAS_RPC
  1065. bool "Remote Procedure Call (RPC) support"
  1066. # RPC+socket-ipvX doesn't currently work.
  1067. depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6
  1068. help
  1069. If you want to include RPC support, enable this. RPC is rarely used
  1070. for anything except for the NFS filesystem. Unless you plan to use
  1071. NFS, you can probably leave this set to N and save some space.
  1072. If you need to use NFS then you should answer Y.
  1073. config UCLIBC_HAS_FULL_RPC
  1074. bool "Full RPC support"
  1075. depends on UCLIBC_HAS_RPC
  1076. default y if !HAVE_SHARED
  1077. help
  1078. Normally we enable just enough RPC support for things like rshd and
  1079. nfs mounts to work. If you find you need the rest of the RPC stuff,
  1080. then enable this option. Most people can safely answer N.
  1081. config UCLIBC_HAS_REENTRANT_RPC
  1082. bool "Reentrant RPC support"
  1083. depends on UCLIBC_HAS_RPC
  1084. default y if !HAVE_SHARED
  1085. help
  1086. Most packages utilize the normal (non-reentrant) RPC functions, but
  1087. some (like exportfs from nfs-utils) need these reentrant versions.
  1088. Most people can safely answer N.
  1089. config UCLIBC_USE_NETLINK
  1090. bool "Use netlink to query interfaces"
  1091. depends on UCLIBC_HAS_SOCKET
  1092. help
  1093. In newer versions of Linux (2.4.17+), support was added for querying
  1094. network device information via netlink rather than the old style
  1095. ioctl's. Most of the time, the older ioctl style is sufficient (and
  1096. it is smaller than netlink), but if you find that not all of your
  1097. devices are being returned by the if_nameindex() function, you will
  1098. have to use the netlink implementation.
  1099. Most people can safely answer N.
  1100. config UCLIBC_SUPPORT_AI_ADDRCONFIG
  1101. bool "Support the AI_ADDRCONFIG flag"
  1102. depends on UCLIBC_USE_NETLINK
  1103. help
  1104. The implementation of AI_ADDRCONFIG is aligned with the glibc
  1105. implementation using netlink to query interfaces to find both
  1106. ipv4 and ipv6 support. This is only needed if an application uses
  1107. the AI_ADDRCONFIG flag.
  1108. Most people can safely answer N.
  1109. config UCLIBC_HAS_BSD_RES_CLOSE
  1110. bool "Support res_close() (bsd-compat)"
  1111. help
  1112. Answer Y if you desperately want to support BSD compatibility in
  1113. the network code.
  1114. Most people will say N.
  1115. config UCLIBC_HAS_COMPAT_RES_STATE
  1116. bool "Use compatible but bloated _res"
  1117. default y
  1118. help
  1119. Answer Y if you build network utilities and they muck with resolver
  1120. internals a lot (_res global structure). uclibc does not use most
  1121. of _res.XXX fields, and with this option OFF they won't even exist.
  1122. Which will make e.g. dig build fail.
  1123. Answering N saves around 400 bytes in bss.
  1124. config UCLIBC_HAS_EXTRA_COMPAT_RES_STATE
  1125. bool "Use extra compatible but extra bloated _res"
  1126. help
  1127. Answer Y if selecting UCLIBC_HAS_COMPAT_RES_STATE is not enough.
  1128. As far as I can say, this should never be needed.
  1129. config UCLIBC_HAS_RESOLVER_SUPPORT
  1130. bool "DNS resolver functions"
  1131. select UCLIBC_HAS_COMPAT_RES_STATE
  1132. depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6
  1133. help
  1134. Provide implementations for DNS resolver functions.
  1135. In particular, the following functions will be added to the
  1136. library:
  1137. ns_skiprr, ns_initparse, ns_parserr, ns_msg_getflag,
  1138. res_mkquery, res_init, res_ninit, res_close, res_nclose
  1139. res_query, res_search, res_querydomain,
  1140. dn_expand, dn_comp,
  1141. ns_name_uncompress, ns_name_ntop, ns_name_pton, ns_name_unpack,
  1142. ns_name_pack, ns_name_compress, ns_name_skip, dn_skipname,
  1143. ns_get16, ns_get32, ns_put16, ns_put32
  1144. config UCLIBC_HAS_LIBRESOLV_STUB
  1145. bool "Provide libresolv stub"
  1146. help
  1147. Provide a dummy resolv library.
  1148. config UCLIBC_HAS_LIBNSL_STUB
  1149. bool "Provide libnsl stub"
  1150. help
  1151. Provide a dummy nsl library.
  1152. endif
  1153. menu "String and Stdio Support"
  1154. config UCLIBC_HAS_STRING_GENERIC_OPT
  1155. bool "Use faster (but larger) generic string functions"
  1156. default y
  1157. help
  1158. Answer Y to use the (tweaked) glibc generic string functions.
  1159. In general, they are faster (but 3-5K larger) than the base
  1160. uClibc string functions which are optimized solely for size.
  1161. Many people will answer Y.
  1162. config UCLIBC_HAS_STRING_ARCH_OPT
  1163. bool "Use arch-specific assembly string functions (where available)"
  1164. default y
  1165. help
  1166. Answer Y to use any archtecture-specific assembly language string
  1167. functions available for this target plaform.
  1168. Note that assembly implementations are not available for all string
  1169. functions, so some generic (written in C) string functions may
  1170. still be used.
  1171. These are small and fast, the only reason _not_ to say Y here is
  1172. for debugging purposes.
  1173. config UCLIBC_HAS_CTYPE_TABLES
  1174. bool "Use Table Versions Of 'ctype.h' Functions."
  1175. default y
  1176. help
  1177. Answer Y to use table versions of the 'ctype.h' functions.
  1178. While the non-table versions are often smaller when building
  1179. statically linked apps, they work only in stub locale mode.
  1180. Most people will answer Y.
  1181. config UCLIBC_HAS_CTYPE_SIGNED
  1182. bool "Support Signed Characters In 'ctype.h' Functions."
  1183. depends on UCLIBC_HAS_CTYPE_TABLES
  1184. default y
  1185. help
  1186. Answer Y to enable support for passing signed char values to
  1187. the 'ctype.h' functions. ANSI/ISO C99 and SUSv3 specify that
  1188. these functions are only defined for unsigned char values and
  1189. EOF. However, glibc allows negative signed char values as well
  1190. in order to support 'broken old programs'.
  1191. Most people will answer Y.
  1192. choice
  1193. prompt "ctype argument checking"
  1194. depends on UCLIBC_HAS_CTYPE_TABLES
  1195. default UCLIBC_HAS_CTYPE_UNSAFE
  1196. help
  1197. Please select the invalid arg behavior you want for the 'ctype'
  1198. functions.
  1199. The 'ctype' functions are now implemented using table lookups, with
  1200. the arg being the index. This can result in incorrect memory accesses
  1201. or even segfaults for args outside of the allowed range.
  1202. NOTE: This only affects the 'ctype' _functions_. It does not affect
  1203. the macro implementations.
  1204. config UCLIBC_HAS_CTYPE_UNSAFE
  1205. bool "Do not check -- unsafe"
  1206. config UCLIBC_HAS_CTYPE_CHECKED
  1207. bool "Detect and handle appropriately"
  1208. config UCLIBC_HAS_CTYPE_ENFORCED
  1209. bool "Issue a diagnostic and abort()"
  1210. endchoice
  1211. config UCLIBC_HAS_WCHAR
  1212. bool "Wide Character Support"
  1213. help
  1214. Answer Y to enable wide character support. This will make uClibc
  1215. much larger. It is also currently required for locale support.
  1216. Most people will answer N.
  1217. config UCLIBC_HAS_LOCALE
  1218. bool "Locale Support"
  1219. select UCLIBC_HAS_WCHAR
  1220. select UCLIBC_HAS_CTYPE_TABLES
  1221. help
  1222. uClibc now has full ANSI/ISO C99 locale support (except for
  1223. wcsftime() and collating items in regex). Be aware that enabling
  1224. this option will make uClibc much larger.
  1225. Enabling UCLIBC_HAS_LOCALE with the default set of supported locales
  1226. (169 UTF-8 locales, and 144 locales for other codesets) will enlarge
  1227. uClibc by around 300k. You can reduce this size by building your own
  1228. custom set of locate data (see extra/locale/LOCALES for details).
  1229. uClibc's locale support is still under development. For example,
  1230. codesets using shift states are not currently supported. Support is
  1231. planned in the next iteration of locale support.
  1232. Answer Y to enable locale support. Most people will answer N.
  1233. choice
  1234. prompt "Locale data"
  1235. depends on UCLIBC_HAS_LOCALE
  1236. default UCLIBC_BUILD_ALL_LOCALE
  1237. config UCLIBC_BUILD_ALL_LOCALE
  1238. bool "All locales"
  1239. depends on UCLIBC_HAS_LOCALE
  1240. help
  1241. This builds all the locales that are available on your
  1242. host-box.
  1243. config UCLIBC_BUILD_MINIMAL_LOCALE
  1244. bool "Only selected locales"
  1245. depends on UCLIBC_HAS_LOCALE
  1246. help
  1247. If you do not need all locales that are available on your
  1248. host-box, then set this to 'Y'.
  1249. config UCLIBC_PREGENERATED_LOCALE_DATA
  1250. bool "Use Pre-generated Locale Data"
  1251. depends on UCLIBC_HAS_LOCALE && !TARGET_metag
  1252. help
  1253. Use pre-built locale data.
  1254. Note that these pregenerated locales are sensitive to your
  1255. target architecture (endianess, bitcount).
  1256. Saying N here is highly recommended.
  1257. endchoice
  1258. config UCLIBC_BUILD_MINIMAL_LOCALES
  1259. string "locales to use"
  1260. depends on UCLIBC_BUILD_MINIMAL_LOCALE
  1261. default "en_US"
  1262. help
  1263. Space separated list of locales to use.
  1264. E.g.:
  1265. en_US en_GB de_AT
  1266. default:
  1267. en_US
  1268. config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
  1269. bool "Automagically Download the Pre-generated Locale Data (if necessary)"
  1270. depends on UCLIBC_PREGENERATED_LOCALE_DATA
  1271. help
  1272. If you would like the build process to use 'wget' to automatically
  1273. download the pregenerated locale data, enable this option. Otherwise
  1274. you will need to obtain the locale data yourself from:
  1275. http://www.uclibc.org/downloads/uClibc-locale-*.tgz
  1276. and place the uClibc-locale-*.tgz tarball in the extra/locale/
  1277. directory.
  1278. Note that the use of pregenerated locale data is discouraged.
  1279. config UCLIBC_HAS_XLOCALE
  1280. bool "Extended Locale Support (experimental/incomplete)"
  1281. depends on UCLIBC_HAS_LOCALE
  1282. help
  1283. Answer Y to enable extended locale support similar to that provided
  1284. by glibc. This is primarily intended to support libstd++
  1285. functionality.
  1286. However, it also allows thread-specific locale selection via
  1287. uselocale().
  1288. Most people will answer N.
  1289. config UCLIBC_HAS_HEXADECIMAL_FLOATS
  1290. bool "Support hexadecimal float notation"
  1291. depends on UCLIBC_HAS_CTYPE_TABLES
  1292. depends on UCLIBC_HAS_FLOATS
  1293. help
  1294. Answer Y to enable support for hexadecimal float notation in the
  1295. (wchar and) char string to floating point conversion functions, as
  1296. well as support for the %a and %A conversion specifiers in the
  1297. *printf() and *scanf() functions.
  1298. Most people will answer N.
  1299. config UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  1300. bool "Support glibc's \"'\" flag for allowing locale-specific digit grouping"
  1301. depends on UCLIBC_HAS_LOCALE
  1302. depends on UCLIBC_HAS_FLOATS
  1303. help
  1304. Answer Y to enable support for glibc's \"'\" flag for allowing
  1305. locale-specific digit grouping in base 10 integer conversions and
  1306. appropriate floating point conversions in the *printf() and *scanf()
  1307. functions.
  1308. Most people will answer N.
  1309. config UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING
  1310. bool "Do not require digit grouping when the \"'\" flag is specified"
  1311. depends on UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  1312. default y
  1313. help
  1314. Answer Y to make digit grouping optional when the \"'\" flag is
  1315. specified.
  1316. This is the standard glibc behavior. If the initial string of digits
  1317. exceeds the maximum group number, the input will be treated as a
  1318. normal non-grouped number.
  1319. Most people will answer N.
  1320. config UCLIBC_HAS_GLIBC_CUSTOM_PRINTF
  1321. bool "Support glibc's register_printf_function() (glibc-compat)"
  1322. depends on !USE_OLD_VFPRINTF
  1323. help
  1324. Answer Y to support glibc's register_printf_function() to allow an
  1325. application to add its own printf conversion specifiers.
  1326. parse_printf_format() is also enabled.
  1327. NOTE: Limits the number or registered specifiers to 10.
  1328. NOTE: Requires new conversion specifiers to be ASCII
  1329. characters (0-0x7f). This is to avoid problems with processing
  1330. format strings in locales with different multibyte conversions.
  1331. Most people will answer N.
  1332. config USE_OLD_VFPRINTF
  1333. bool "Use the old vfprintf implementation"
  1334. depends on !UCLIBC_HAS_WCHAR
  1335. help
  1336. Set to true to use the old vfprintf instead of the new. This is
  1337. roughly C89 compliant with some extensions, and is much smaller.
  1338. However, it does not support wide chars, positional args, or glibc
  1339. custom printf specifiers.
  1340. Most people will answer N.
  1341. config UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS
  1342. int "Maximum number of positional args. Either 0 or >= 9."
  1343. depends on !USE_OLD_VFPRINTF
  1344. default 9
  1345. help
  1346. Set the maximum number of positional args supported by the
  1347. printf/scanf functions. The Single Unix Specification Version 3
  1348. requires a minimum value of 9. Setting this to a value lower than
  1349. 9 will disable positional arg support and cause the NL_ARGMAX macro
  1350. in limits.h to be #undef'd.
  1351. WARNING! The workspace to support positional args is currently
  1352. allocated on the stack. You probably don't want to set
  1353. this to too high a value.
  1354. Most people will answer 9.
  1355. choice
  1356. prompt "Stdio buffer size"
  1357. default UCLIBC_HAS_STDIO_BUFSIZ_4096
  1358. help
  1359. Please select a value for BUFSIZ. This will be used by the
  1360. stdio subsystem as the default buffer size for a file, and
  1361. affects fopen(), setvbuf(), etc.
  1362. NOTE: Setting this to 'none' will disable buffering completely.
  1363. However, BUFSIZ will still be defined in stdio.h as 256 because
  1364. many applications use this value.
  1365. config UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1366. bool "none (WARNING - BUFSIZ will be 256 in stdio.h)"
  1367. depends on !UCLIBC_HAS_WCHAR
  1368. config UCLIBC_HAS_STDIO_BUFSIZ_256
  1369. bool "256 (minimum ANSI/ISO C99 value)"
  1370. config UCLIBC_HAS_STDIO_BUFSIZ_512
  1371. bool "512"
  1372. config UCLIBC_HAS_STDIO_BUFSIZ_1024
  1373. bool "1024"
  1374. config UCLIBC_HAS_STDIO_BUFSIZ_2048
  1375. bool "2048"
  1376. config UCLIBC_HAS_STDIO_BUFSIZ_4096
  1377. bool "4096"
  1378. config UCLIBC_HAS_STDIO_BUFSIZ_8192
  1379. bool "8192"
  1380. # If you add more choices, you will need to update uClibc_stdio.h.
  1381. endchoice
  1382. choice
  1383. prompt "Stdio builtin buffer size (uClibc-specific)"
  1384. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1385. default UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  1386. help
  1387. When a FILE is created with fopen(), an attempt is made to allocate
  1388. a BUFSIZ buffer for it. If the allocation fails, fopen() will still
  1389. succeed but the FILE will be unbuffered.
  1390. This option adds a small amount of space to each FILE to act as an
  1391. emergency buffer in the event of a buffer allocation failure.
  1392. Most people will answer None.
  1393. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  1394. bool "None"
  1395. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4
  1396. bool "4"
  1397. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8
  1398. bool "8"
  1399. # If you add more choices, you will need to update uClibc_stdio.h.
  1400. endchoice
  1401. config UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT
  1402. bool "Attempt to shutdown stdio subsystem when abort() is called."
  1403. help
  1404. ANSI/ISO C99 requires abort() to be asyn-signal-safe. So there was
  1405. a behavioral change made in SUSv3. Previously, abort() was required
  1406. to have the affect of fclose() on all open streams. The wording has
  1407. been changed to "may" from "shall".
  1408. Most people will answer N.
  1409. config UCLIBC_HAS_STDIO_GETC_MACRO
  1410. bool "Provide a macro version of getc()"
  1411. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1412. default y
  1413. help
  1414. Provide a macro version of getc().
  1415. Most people will answer Y.
  1416. config UCLIBC_HAS_STDIO_PUTC_MACRO
  1417. bool "Provide a macro version of putc()"
  1418. depends on !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  1419. default y
  1420. help
  1421. Provide a macro version of putc().
  1422. Most people will answer Y.
  1423. config UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION
  1424. bool "Support auto-r/w transition"
  1425. default y
  1426. help
  1427. Answer Y to enable the stdio subsystem to automaticly transition
  1428. between reading and writing. This relaxes the ANSI/ISO C99
  1429. requirement:
  1430. When a file is opened with update mode ('+' as the second or third
  1431. character in the list of mode argument values), both input and output
  1432. may be performed on the associated stream. However, output shall not
  1433. be directly followed by input without an intervening call to the
  1434. fflush function or to a file positioning function (fseek, fsetpos,
  1435. or rewind), and input shall not be directly followed by output without
  1436. an intervening call to a file positioning function, unless the input
  1437. operation encounters end­of­file.
  1438. Most people will answer Y.
  1439. config UCLIBC_HAS_FOPEN_LARGEFILE_MODE
  1440. bool "Support an fopen() 'F' flag for large file mode (uClibc-specific)"
  1441. depends on UCLIBC_HAS_LFS
  1442. help
  1443. Answer Y to enable a uClibc-specific extension to allow passing an
  1444. additional 'F' flag in the mode string for fopen() to specify that
  1445. the file should be open()ed with the O_LARGEFILE flag set.
  1446. Most people will answer N.
  1447. config UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE
  1448. bool "Support an fopen() 'x' flag for exclusive mode (glibc-compat)"
  1449. help
  1450. Answer Y to support a glibc extension to allow passing
  1451. additional 'x' flag in the mode string for fopen() to specify that
  1452. the file should be open()ed with the O_EXCL flag set.
  1453. Most people will answer N.
  1454. config UCLIBC_HAS_FOPEN_CLOSEEXEC_MODE
  1455. bool "Support an fopen() 'e' flag for close-on-exec mode (glibc-compat)"
  1456. help
  1457. Answer Y to support a glibc extension to allow passing
  1458. additional 'e' flag in the mode string for fopen() to specify that
  1459. the file should be open()ed with the O_CLOEXEC flag set.
  1460. Most people will answer N.
  1461. config UCLIBC_HAS_GLIBC_CUSTOM_STREAMS
  1462. bool "Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat)"
  1463. help
  1464. Answer Y to support the glibc 'custom stream' extension functions
  1465. fmemopen(), open_memstream(), and fopencookie().
  1466. NOTE: There are some minor differences regarding seeking behavior.
  1467. Most people will answer N.
  1468. config UCLIBC_HAS_PRINTF_M_SPEC
  1469. bool "Support the '%m' specifier in printf format strings (glibc-compat)"
  1470. help
  1471. Answer Y to support a glibc extension to interpret '%m' in printf
  1472. format strings as an instruction to output the error message string
  1473. (as generated by strerror) corresponding to the current value of
  1474. 'errno'.
  1475. Most people will answer N.
  1476. config UCLIBC_HAS_ERRNO_MESSAGES
  1477. bool "Include the errno message text in the library"
  1478. default y
  1479. help
  1480. Answer Y if you want to include the errno message text in the
  1481. library. This adds about 3K to the library, but enables strerror()
  1482. to generate text other than 'Unknown error <number>'.
  1483. Most people will answer Y.
  1484. config UCLIBC_HAS_SYS_ERRLIST
  1485. bool "Support sys_errlist[] (obsolete-compat)"
  1486. depends on UCLIBC_HAS_ERRNO_MESSAGES
  1487. help
  1488. Answer Y if you want to support the obsolete sys_errlist[].
  1489. This adds about 0.5k to the library, except for the mips
  1490. arch where it adds over 4K.
  1491. WARNING! In the future, support for sys_errlist[] may be unavailable
  1492. in at least some configurations. In fact, it may be removed
  1493. altogether.
  1494. Most people will answer N.
  1495. Application writers: use the strerror(3) function.
  1496. config UCLIBC_HAS_SIGNUM_MESSAGES
  1497. bool "Include the signum message text in the library"
  1498. default y
  1499. help
  1500. Answer Y if you want to include the signum message text in the
  1501. library. This adds about 0.5K to the library, but enables strsignal()
  1502. to generate text other than 'Unknown signal <number>'.
  1503. Most people will answer Y.
  1504. config UCLIBC_HAS_SYS_SIGLIST
  1505. bool "Support sys_siglist[] (bsd-compat)"
  1506. depends on UCLIBC_HAS_SIGNUM_MESSAGES
  1507. help
  1508. Answer Y if you want to support sys_siglist[].
  1509. WARNING! In the future, support for sys_siglist[] may be unavailable
  1510. in at least some configurations. In fact, it may be removed
  1511. altogether.
  1512. Most people will answer N.
  1513. config UCLIBC_HAS_GETTEXT_AWARENESS
  1514. bool "Include gettext awareness"
  1515. depends on UCLIBC_HAS_LOCALE && UCLIBC_MJN3_ONLY
  1516. help
  1517. NOTE!!! Not yet integrated with strerror and strsignal. NOTE!!!
  1518. Answer Y if you want to include weak stub gettext support and
  1519. make the *strerror*() and strsignal() functions gettext-aware.
  1520. Currently, to get functional gettext functionality you will need
  1521. to use gnu gettext.
  1522. Most people will answer N.
  1523. config UCLIBC_HAS_GNU_GETOPT
  1524. bool "Support gnu getopt"
  1525. default y
  1526. help
  1527. Answer Y if you want to include full gnu getopt() instead of a
  1528. (much smaller) SUSv3 compatible getopt().
  1529. Most people will answer Y.
  1530. config UCLIBC_HAS_STDIO_FUTEXES
  1531. bool "Use futexes for multithreaded I/O locking"
  1532. depends on UCLIBC_HAS_THREADS_NATIVE
  1533. help
  1534. If you want to compile uClibc to use futexes for low-level
  1535. I/O locking, answer Y. Otherwise, answer N.
  1536. config UCLIBC_HAS_GETOPT_LONG
  1537. bool "Support getopt_long/getopt_long_only"
  1538. depends on !UCLIBC_HAS_GNU_GETOPT
  1539. default y
  1540. help
  1541. Answer Y if you want to include getopt_long[_only() used by many
  1542. apps, even busybox.
  1543. Most people will answer Y.
  1544. config UCLIBC_HAS_GNU_GETSUBOPT
  1545. bool "Support glibc getsubopt"
  1546. default y
  1547. help
  1548. Answer Y if you want to include glibc getsubopt() instead of a
  1549. smaller SUSv3 compatible getsubopt().
  1550. Most people will answer Y.
  1551. endmenu
  1552. menu "Big and Tall"
  1553. config UCLIBC_HAS_REGEX
  1554. bool "Regular Expression Support"
  1555. default y
  1556. help
  1557. POSIX regular expression code is really big -- 53k all by itself.
  1558. If you don't use regular expressions, turn this off and save space.
  1559. Of course, if you only statically link, leave this on, since it will
  1560. only be included in your apps if you use regular expressions.
  1561. config UCLIBC_HAS_REGEX_OLD
  1562. bool "Use the older (stable) regular expression code"
  1563. depends on UCLIBC_HAS_REGEX
  1564. default y
  1565. help
  1566. There are two versions of regex. The older (stable) version has
  1567. been in uClibc for quite a long time but hasn't seen too many
  1568. updates. It also has some known issues when dealing with uncommon
  1569. corner cases and multibyte/unicode strings. However, it is quite
  1570. a bit smaller than the newer version.
  1571. If the older version has worked for you and you don't need unicode
  1572. support, then stick with the old version (and say Y here).
  1573. Otherwise, you should use the new version (and say N here).
  1574. config UCLIBC_HAS_FNMATCH
  1575. bool "fnmatch Support"
  1576. default y
  1577. help
  1578. POSIX fnmatch.
  1579. config UCLIBC_HAS_FNMATCH_OLD
  1580. bool "Use the older (stable) fnmatch code"
  1581. depends on UCLIBC_HAS_FNMATCH
  1582. default y
  1583. help
  1584. There are two versions of fnmatch. The older (stable) version has
  1585. been in uClibc for quite a long time but hasn't seen too many
  1586. updates. It also has some known issues when dealing with uncommon
  1587. corner cases and multibyte/unicode strings. However, it is quite
  1588. a bit smaller than the newer version.
  1589. If the older version has worked for you and you don't need unicode
  1590. support, then stick with the old version (and say Y here).
  1591. Otherwise, you should use the new version (and say N here).
  1592. config UCLIBC_HAS_WORDEXP
  1593. bool "Support the wordexp() interface"
  1594. depends on UCLIBC_HAS_GLOB
  1595. help
  1596. The SuSv3 wordexp() interface performs word expansions per the Shell
  1597. and Utilities volume of IEEE Std 1003.1-2001, Section 2.6. It is
  1598. intended for use by applications that want to implement all of the
  1599. standard Bourne shell expansions on input data.
  1600. This interface is rarely used, and very large. Unless you have a
  1601. pressing need for wordexp(), you should probably answer N.
  1602. config UCLIBC_HAS_NFTW
  1603. bool "Support the nftw() interface"
  1604. help
  1605. The SuSv3 nftw() interface is used to recursively descend
  1606. directory paths while repeatedly calling a function.
  1607. This interface is rarely used, and adds around 4.5k. Unless you have
  1608. a pressing need for nftw(), you should probably answer N.
  1609. config UCLIBC_HAS_FTW
  1610. bool "Support the ftw() interface (SUSv4-obsolete)"
  1611. depends on UCLIBC_SUSV4_LEGACY
  1612. help
  1613. The SuSv3 ftw() interface is used to recursively descend
  1614. directory paths while repeatedly calling a function.
  1615. This interface is rarely used, and adds around 4.5k. Unless you have
  1616. a pressing need for ftw(), you should probably answer N.
  1617. config UCLIBC_HAS_FTS
  1618. bool "Support the fts() interface (bsd-compat)"
  1619. help
  1620. The fts functions are provided for traversing UNIX file hierarchies.
  1621. This interface is currently used by the elfutils and adds
  1622. around 7.5k.
  1623. You should port your application to use the POSIX nftw()
  1624. interface.
  1625. Unless you need to build/use elfutils, you should prolly answer N.
  1626. config UCLIBC_HAS_GLOB
  1627. bool "Support the glob() interface"
  1628. depends on UCLIBC_HAS_FNMATCH
  1629. default y
  1630. help
  1631. The glob interface is somewhat large (weighing in at about 2,5k). It
  1632. is used fairly often, but is an option since people wanting to go for
  1633. absolute minimum size may wish to omit it.
  1634. Most people will answer Y.
  1635. config UCLIBC_HAS_GNU_GLOB
  1636. bool "Support gnu glob() interface"
  1637. depends on UCLIBC_HAS_GLOB
  1638. help
  1639. The gnu glob interface is somewhat larger (weighing in at about 4,2k)
  1640. than it's SuSv3 counterpart (and is out of date). It is an old copy
  1641. from glibc and does not support all the GNU specific options.
  1642. Answer Y if you want to include full gnu glob() instead of the smaller
  1643. SUSv3 compatible glob().
  1644. Most people will answer N.
  1645. config UCLIBC_HAS_UTMPX
  1646. bool "utmpx based support for tracking login/logouts to/from the system"
  1647. help
  1648. Answer y to enable support for accessing user accounting database.
  1649. It can be used to track all login/logout to the system.
  1650. If unsure, just answer N.
  1651. endmenu
  1652. menu "Library Installation Options"
  1653. config RUNTIME_PREFIX
  1654. string "uClibc runtime library directory"
  1655. default "/usr/$(TARGET_ARCH)-linux-uclibc/"
  1656. help
  1657. RUNTIME_PREFIX is the directory into which the uClibc runtime
  1658. libraries will be installed. The result will look something
  1659. like the following:
  1660. $(RUNTIME_PREFIX)/
  1661. lib/ <contains all runtime libraries>
  1662. usr/bin/ldd <the ldd utility program>
  1663. sbin/ldconfig <the ldconfig utility program>
  1664. This value is used by the 'make install' Makefile target. Since this
  1665. directory is compiled into the shared library loader, you will need to
  1666. recompile uClibc if you change this value...
  1667. For a typical target system this should be set to "/", such that
  1668. 'make install' will install /lib/libuClibc-<VERSION>.so
  1669. config DEVEL_PREFIX
  1670. string "uClibc development environment directory"
  1671. default "/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
  1672. help
  1673. DEVEL_PREFIX is the directory into which the uClibc development
  1674. environment will be installed. The result will look something
  1675. like the following:
  1676. $(DEVEL_PREFIX)/
  1677. lib/ <contains static libs>
  1678. include/ <Where all the header files go>
  1679. This value is used by the 'make install' Makefile target when
  1680. installing a uClibc development environment.
  1681. For a typical target system this should be set to "/usr", such that
  1682. 'make install' will install /usr/include/<header files>.
  1683. config MULTILIB_DIR
  1684. string "library path component"
  1685. default "lib"
  1686. help
  1687. Path component where libraries reside.
  1688. For a typical target system this should be set to "lib", such that
  1689. 'make install' will install libraries to "/lib" and "/usr/lib"
  1690. respectively
  1691. DEVEL_PREFIX/MULTILIB_DIR
  1692. RUNTIME_PREFIX/MULTILIB_DIR
  1693. Other settings may include "lib32" or "lib64".
  1694. config HARDWIRED_ABSPATH
  1695. bool "Hardwire absolute paths into linker scripts"
  1696. default y
  1697. help
  1698. This prepends absolute paths to the libraries mentioned in linker
  1699. scripts such as libc.so.
  1700. This is a build time optimization. It has no impact on dynamic
  1701. linking at runtime, which doesn't use linker scripts.
  1702. You must disable this to use uClibc with old non-sysroot toolchains,
  1703. such as the prebuilt binary cross compilers at:
  1704. http://uclibc.org/downloads/binaries
  1705. The amount of time saved by this optimization is actually too small to
  1706. measure. The linker just had to search the library path to find the
  1707. linker script, so the dentries are cache hot if it has to search the
  1708. same path again. But it's what glibc does, so we do it too.
  1709. endmenu
  1710. menu "Security options"
  1711. config UCLIBC_BUILD_PIE
  1712. bool "Build utilities as ET_DYN/PIE executables"
  1713. depends on HAVE_SHARED
  1714. depends on TARGET_arm || TARGET_frv || TARGET_i386 || TARGET_mips || TARGET_powerpc
  1715. select FORCE_SHAREABLE_TEXT_SEGMENTS
  1716. help
  1717. If you answer Y here, ldd and iconv are built as ET_DYN/PIE
  1718. executables.
  1719. It requires gcc-3.4 and binutils-2.15 (for arm 2.16) or later.
  1720. More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .
  1721. WARNING: This option also enables FORCE_SHAREABLE_TEXT_SEGMENTS, so
  1722. all libraries have to be built with -fPIC or -fpic, and all
  1723. assembler functions must be written as position independent
  1724. code (PIC).
  1725. config UCLIBC_HAS_ARC4RANDOM
  1726. bool "Include the arc4random() function"
  1727. help
  1728. Answer Y to support the OpenBSD-like arc4random() function. This
  1729. function picks a random number between 0 and N, and will always return
  1730. something even if the random driver is dead. If urandom fails then
  1731. gettimeofday(2) will be used as the random seed. This function is
  1732. designed to be more dependable than invoking /dev/urandom directly.
  1733. OpenSSL and OpenNTPD currently support this function.
  1734. Most people will answer N.
  1735. config ARC4RANDOM_USES_NODEV
  1736. bool "Do not use /dev/urandom with arc4random()"
  1737. depends on UCLIBC_HAS_ARC4RANDOM
  1738. help
  1739. Answer Y to use gettimeofday(2) and getpid(2) exclusively for
  1740. arc4random(). This is not a bad idea for a diskless system, but
  1741. it uses a lot of syscalls to stir each array element.
  1742. Most people will answer N.
  1743. config HAVE_NO_SSP
  1744. bool
  1745. config UCLIBC_HAS_SSP
  1746. bool "Support for GCC stack smashing protector"
  1747. depends on !HAVE_NO_SSP
  1748. help
  1749. Add code to support GCC's -fstack-protector[-all] option to uClibc.
  1750. This requires GCC 4.1 or newer. GCC does not have to provide libssp,
  1751. the needed functions are added to ldso/libc instead.
  1752. GCC's stack protector is a reimplementation of IBM's propolice.
  1753. See http://www.trl.ibm.com/projects/security/ssp/ and
  1754. http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
  1755. for details.
  1756. Note that NOEXECSTACK on a kernel with address space randomization
  1757. is generally sufficient to prevent most buffer overflow exploits
  1758. without increasing code size. This option essentially adds debugging
  1759. code to catch them.
  1760. Most people will answer N.
  1761. config UCLIBC_HAS_SSP_COMPAT
  1762. bool "Support for gcc-3.x propolice smashing stack protector"
  1763. depends on UCLIBC_HAS_SSP
  1764. help
  1765. Add gcc-3.x propolice smashing stack protector to the library.
  1766. This requires a patched version of GCC, supporting the
  1767. -fstack-protector[-all] options, with the __guard and
  1768. __stack_smash_handler functions removed from libgcc.
  1769. These functions are added to ldso/libc instead.
  1770. More information at:
  1771. <http://www.research.ibm.com/trl/projects/security/ssp/>
  1772. Most people will answer N.
  1773. config SSP_QUICK_CANARY
  1774. bool "Use simple guard values without accessing /dev/urandom"
  1775. depends on UCLIBC_HAS_SSP
  1776. help
  1777. Use gettimeofday(2) to define the __guard without accessing
  1778. /dev/urandom.
  1779. WARNING: This makes smashing stack protector vulnerable to timing
  1780. attacks.
  1781. Most people will answer N.
  1782. choice
  1783. prompt "Propolice protection blocking signal"
  1784. depends on UCLIBC_HAS_SSP
  1785. depends on DODEBUG
  1786. default PROPOLICE_BLOCK_SEGV
  1787. help
  1788. "abort" use SIGABRT to block offending programs.
  1789. This is the default implementation.
  1790. "segfault" use SIGSEGV to block offending programs.
  1791. Use this for debugging.
  1792. If unsure, answer "abort".
  1793. config PROPOLICE_BLOCK_ABRT
  1794. bool "abort"
  1795. config PROPOLICE_BLOCK_SEGV
  1796. bool "segfault"
  1797. endchoice
  1798. config UCLIBC_BUILD_SSP
  1799. bool "Build uClibc with -fstack-protector"
  1800. depends on UCLIBC_HAS_SSP
  1801. help
  1802. Build all uClibc libraries and executables with -fstack-protector,
  1803. adding extra stack overflow checking to most uClibc functions.
  1804. config UCLIBC_BUILD_RELRO
  1805. bool "Build uClibc with linker option -z RELRO"
  1806. depends on HAVE_SHARED
  1807. default y
  1808. help
  1809. Build all libraries and executables with "ld -z relro".
  1810. This tells the linker to mark chunks of an executable or shared
  1811. library read-only after applying dynamic relocations. (This comes
  1812. up when a global const variable is initialized to the address of a
  1813. function or the value of another global variable.)
  1814. This is a fairly obscure option the ld man page doesn't even bother
  1815. to document properly. It's a security paranoia issue that's more
  1816. likely to consume memory (by allocating an extra page) rather than
  1817. save it.
  1818. This is explained in more depth at
  1819. http://www.airs.com/blog/archives/189
  1820. Nobody is likely to care whether you say Y or N here.
  1821. config UCLIBC_BUILD_NOW
  1822. bool "Build uClibc with linker option -z NOW"
  1823. depends on HAVE_SHARED
  1824. help
  1825. Build all libraries and executables with "ld -z now".
  1826. This tells the linker to resolve all symbols when the library is
  1827. first loaded, rather than when each function is first called. This
  1828. increases start-up latency by a few microseconds and may do
  1829. unnecessary work (resolving symbols that are never used), but the
  1830. realtime people like it for making microbenchmark timings slightly
  1831. more predictable and in some cases it can be slightly faster due to
  1832. CPU cache behavior (not having to fault the linker back in to do
  1833. lazy symbol resolution).
  1834. Most people can't tell the difference between selecting Y or N here.
  1835. config UCLIBC_BUILD_NOEXECSTACK
  1836. bool "Build uClibc with noexecstack marking"
  1837. default y
  1838. help
  1839. Mark all assembler files as noexecstack, which will mark uClibc
  1840. as not requiring an executable stack. (This doesn't prevent other
  1841. files you link against from claiming to need an executable stack, it
  1842. just won't cause uClibc to request it unnecessarily.)
  1843. This is a security thing to make buffer overflows harder to exploit.
  1844. By itself, it's kind of useless, as Linus Torvalds explained in 1998:
  1845. http://old.lwn.net/1998/0806/a/linus-noexec.html
  1846. It only actually provides any security when combined with address
  1847. space randomization, explained here: http://lwn.net/Articles/121845/
  1848. Address space randomization is on by default in current linux
  1849. kernels (although it can be disabled using the option
  1850. CONFIG_COMPAT_BRK).
  1851. You should probably say Y.
  1852. endmenu
  1853. menu "Development/debugging options"
  1854. config CROSS_COMPILER_PREFIX
  1855. string "Cross-compiling toolchain prefix"
  1856. default ""
  1857. help
  1858. The prefix used to execute your cross-compiling toolchain. For
  1859. example, if you run 'arm-linux-uclibc-gcc' to compile something,
  1860. then enter 'arm-linux-uclibc-' here.
  1861. config UCLIBC_EXTRA_CFLAGS
  1862. string "Extra CFLAGS"
  1863. default ""
  1864. help
  1865. Add any additional CFLAGS to be used to build uClibc.
  1866. config DODEBUG
  1867. bool "Enable debugging symbols"
  1868. select EXTRA_WARNINGS
  1869. help
  1870. Say Y here if you wish to compile uClibc with debugging symbols.
  1871. This will allow you to use a debugger to examine uClibc internals
  1872. while applications are running. This increases the size of the
  1873. library considerably and should only be used when doing development.
  1874. If you are doing development and want to debug uClibc, answer Y.
  1875. Otherwise, answer N.
  1876. config DODEBUG_PT
  1877. bool "Build pthread with debugging output"
  1878. depends on UCLIBC_HAS_THREADS && LINUXTHREADS_OLD
  1879. help
  1880. Enable debug output in libpthread. This is only useful when doing
  1881. development in libpthread itself.
  1882. Otherwise, answer N.
  1883. config DOSTRIP
  1884. bool "Strip libraries and executables"
  1885. default y
  1886. depends on !DODEBUG
  1887. help
  1888. Say Y here if you do wish to strip all uClibc libraries and
  1889. executables. No stripping increases the size of the binaries
  1890. considerably, but makes it possible to debug uClibc libraries.
  1891. Most people will answer Y.
  1892. config DOASSERTS
  1893. bool "Build with run-time assertion testing"
  1894. help
  1895. Say Y here to include runtime assertion tests.
  1896. This enables runtime assertion testing in some code, which can
  1897. increase the size of the library and incur runtime overhead.
  1898. If you say N, then this testing will be disabled.
  1899. config SUPPORT_LD_DEBUG
  1900. bool "Build the shared library loader with debugging support"
  1901. depends on HAVE_SHARED
  1902. help
  1903. Answer Y here to enable all the extra code needed to debug the uClibc
  1904. native shared library loader. The level of debugging noise that is
  1905. generated depends on the LD_DEBUG environment variable... Just set
  1906. LD_DEBUG to something like: 'LD_DEBUG=token1,token2,.. prog' to
  1907. debug your application. Diagnostic messages will then be printed to
  1908. the stderr.
  1909. For now these debugging tokens are available:
  1910. detail provide more information for some options
  1911. move display copy processing
  1912. symbols display symbol table processing
  1913. reloc display relocation processing; detail shows the
  1914. relocation patch
  1915. nofixups never fixes up jump relocations
  1916. bindings displays the resolve processing (function calls);
  1917. detail shows the relocation patch
  1918. all Enable everything!
  1919. The additional environment variable:
  1920. LD_DEBUG_OUTPUT=file
  1921. redirects the diagnostics to an output file created using
  1922. the specified name and the process id as a suffix.
  1923. An excellent start is simply:
  1924. $ LD_DEBUG=binding,move,symbols,reloc,detail ./appname
  1925. or to log everything to a file named 'logfile', try this
  1926. $ LD_DEBUG=all LD_DEBUG_OUTPUT=logfile ./appname
  1927. If you are doing development and want to debug uClibc's shared library
  1928. loader, answer Y. Mere mortals answer N.
  1929. config SUPPORT_LD_DEBUG_EARLY
  1930. bool "Build the shared library loader with early debugging support"
  1931. depends on HAVE_SHARED
  1932. help
  1933. Answer Y here to if you find the uClibc shared library loader is
  1934. crashing or otherwise not working very early on. This is typical
  1935. only when starting a new port when you haven't figured out how to
  1936. properly get the values for argc, argv, environ, etc. This method
  1937. allows a degree of visibility into the very early shared library
  1938. loader initialization process. If you are doing development and want
  1939. to debug the uClibc shared library loader early initialization,
  1940. answer Y. Mere mortals answer N.
  1941. config UCLIBC_MALLOC_DEBUGGING
  1942. bool "Build malloc with debugging support"
  1943. depends on MALLOC || MALLOC_STANDARD
  1944. select DOASSERTS
  1945. help
  1946. Answer Y here to compile extra debugging support code into malloc.
  1947. Malloc debugging output may then be enabled at runtime using the
  1948. MALLOC_DEBUG environment variable.
  1949. The value of MALLOC_DEBUG should be an integer, which is interpreted
  1950. as a bitmask with the following bits:
  1951. 1 - do extra consistency checking
  1952. 2 - output messages for malloc/free calls and OS
  1953. allocation calls
  1954. 4 - output messages for the `MMB' layer
  1955. 8 - output messages for internal malloc heap manipulation
  1956. calls
  1957. Because this increases the size of malloc appreciably (due to strings
  1958. etc), you should say N unless you need to debug a malloc problem.
  1959. config UCLIBC_HAS_BACKTRACE
  1960. bool "Add support for application self-debugging"
  1961. depends on HAVE_SHARED
  1962. help
  1963. Answer Y here to compile support for application self-debugging, by adding
  1964. a new shared object "libubacktrace.so" that provides the following new
  1965. functions:
  1966. backtrace, backtrace_symbols, backtrace_symbols_fd
  1967. The backtrace functionality is currently supported on SH platform, and it
  1968. based on dwarf2 informations to properly work, so any application that
  1969. want to use backtrace needs to be built with -fexceptions flag.
  1970. The symbol names may be unavailable without the use of special linker
  1971. options. For systems using the GNU linker, it is necessary to use the
  1972. -rdynamic linker option too. Note that names of "static" functions are not
  1973. exposed, and won't be available in the backtrace.
  1974. config WARNINGS
  1975. string "Compiler Warnings"
  1976. default "-Wall"
  1977. help
  1978. Set this to the set of compiler warnings you wish to see while compiling.
  1979. config EXTRA_WARNINGS
  1980. bool "Enable extra annoying warnings"
  1981. help
  1982. If you wish to build with extra warnings enabled, say Y here.
  1983. config DOMULTI
  1984. bool "Compile all sources at once into an object"
  1985. help
  1986. Set this to compile all sources at once into an object (IMA).
  1987. This mode of compilation uses alot of memory but may produce
  1988. smaller binaries.
  1989. Note that you need a very recent GCC for this to work, like
  1990. gcc >= 4.3 plus eventually some patches.
  1991. If unsure, keep the default of N.
  1992. config UCLIBC_MJN3_ONLY
  1993. bool "Manuel's hidden warnings"
  1994. help
  1995. Answer Y here to see all Manuel's personal notes, warnings, and todos.
  1996. Most people will answer N.
  1997. endmenu