summaryrefslogtreecommitdiff
path: root/docs/customize-libc-config.txt
blob: ac183172a31dabd1365434e2f8edb9e8c6c385be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:

[[libc-custom]]
Customizing the libc configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Just like xref:busybox-custom[BusyBox] http://www.uclibc-ng.org/[uClibc-ng]
offering a lot of configuration options. They allow you to select
various functionalities depending on your needs and limitations.
OpenADK chooses automatically the best configuration regarding 
resulting code size, standard conformance, portability and GNU 
libc compatibility.

If you still have the requirements to change the default, regenerate
a new uClibc-ng config from the existing one:

----------------
 $ tar xvf dl/uClibc-ng-x.y.z.tar.xz
 $ cd uClibc-ng-x.y.z
 $ cp ../target/<arch>/uclibc.config .config
 $ make menuconfig
----------------

Make all required changes. Then copy the newly created uClibc-ng configuration back
and rebuild your targetsystem, including the toolchain components:

----------------
 $ cp .config ../target/<arch>/uclibc.config
 $ cd .. && make cleandir && make
----------------

There are no customization options for GNU libc or musl available.