2013-02-13 13:59:02 +01:00
|
|
|
// -*- mode:doc; -*-
|
|
|
|
// vim: set syntax=asciidoc:
|
2012-11-11 04:14:42 +01:00
|
|
|
|
2011-10-10 10:46:39 +02:00
|
|
|
[[uclibc-custom]]
|
2012-11-11 04:14:42 +01:00
|
|
|
Customizing the uClibc configuration
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-10-10 10:46:39 +02:00
|
|
|
|
|
|
|
Just like xref:busybox-custom[BusyBox], http://www.uclibc.org/[uClibc]
|
|
|
|
offers a lot of configuration options. They allow you to select
|
|
|
|
various functionalities depending on your needs and limitations.
|
|
|
|
|
|
|
|
The easiest way to modify the configuration of uClibc is to
|
|
|
|
follow these steps:
|
|
|
|
|
|
|
|
* Do an initial compilation of Buildroot without trying to customize
|
|
|
|
uClibc.
|
|
|
|
|
2012-11-16 05:54:19 +01:00
|
|
|
* Invoke +make uclibc-menuconfig+. The nice configuration assistant,
|
2011-10-10 10:46:39 +02:00
|
|
|
similar to the one used in the Linux kernel or Buildroot,
|
|
|
|
appears. Make your configuration changes as appropriate.
|
|
|
|
|
2013-06-30 21:29:05 +02:00
|
|
|
* Copy the +$(O)/build/uClibc-VERSION/.config+ file to a different
|
2012-11-27 12:59:16 +01:00
|
|
|
place (e.g. +board/MANUFACTURER/BOARDNAME/uClibc.config+) and adjust
|
|
|
|
the uClibc configuration file option +BR2_UCLIBC_CONFIG+ to refer to this
|
2011-10-10 10:46:39 +02:00
|
|
|
configuration instead of the default one.
|
|
|
|
|
|
|
|
* Run the compilation of Buildroot again.
|
|
|
|
|
2013-06-30 21:29:05 +02:00
|
|
|
Otherwise, you can simply change +package/uclibc/uClibc-VERSION.config+,
|
2011-10-10 10:46:39 +02:00
|
|
|
without running the configuration assistant.
|
|
|
|
|
2012-11-27 12:59:16 +01:00
|
|
|
If you want to use an existing config file for uClibc, then see
|
2011-10-10 10:46:39 +02:00
|
|
|
xref:env-vars[].
|
|
|
|
|