libressl: update to 2.6.3
[openadk.git] / docs / customize-libc-config.txt
blobdbf3f25c45440f4136199c01db529f49d988f224
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
4 [[libc-custom]]
5 Customizing the libc configuration
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 Just like xref:busybox-custom[BusyBox] http://www.uclibc-ng.org/[uClibc-ng]
9 offering a lot of configuration options. They allow you to select
10 various functionalities depending on your needs and limitations.
11 OpenADK chooses automatically the best configuration regarding 
12 resulting code size, standard conformance, portability and GNU 
13 libc compatibility.
15 If you still have the requirements to change the default, regenerate
16 a new uClibc-ng config from the existing one:
18 ----------------
19  $ tar xvf dl/uClibc-ng-x.y.z.tar.xz
20  $ cd uClibc-ng-x.y.z
21  $ cp ../target/<arch>/uclibc-ng.config .config
22  $ make menuconfig
23 ----------------
25 Make all required changes. Then copy the newly created uClibc-ng configuration back
26 and rebuild your targetsystem, including the toolchain components:
28 ----------------
29  $ cp .config ../target/<arch>/uclibc-ng.config
30  $ cd .. && make cleandir && make
31 ----------------
33 There are no customization options for GNU libc or musl available.