2 // vim: set syntax=asciidoc:
5 Customizing the libc configuration
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 Just like xref:busybox-custom[BusyBox], http://www.uclibc.org/[uClibc]
9 and http://www.uclibc-ng.org/[uClibc-ng]
10 offering a lot of configuration options. They allow you to select
11 various functionalities depending on your needs and limitations.
12 OpenADK chooses automatically the best configuration regarding
13 resulting code size, standard conformance, portability and GNU
16 If you still have the requirements to change the default, regenerate
17 a new uClibc/uClibc-ng config from the existing one:
20 $ tar xvf dl/uClibc-x.y.z.tar.bz2
21 $ cd uClibc-x.y.z && patch -p1 <../toolchain/uClibc/patches-x.y.z/*.patch
22 $ cp ../target/<arch>/uclibc.config .config
26 Make all required changes. Then copy the newly created uClibc configuration back
27 and rebuild your targetsystem, including the toolchain components:
30 $ cp .config ../target/<arch>/uclibc.config
31 $ cd .. && make cleandir && make
34 The config is shared by uClibc and uClibc-ng.
35 There are no customization options for GNU libc or musl available.