mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
5a980678f6
This patch reworks the chapter 'Configuration of other components' as follows: - remove separate customize-xxx-config.txt files in favor of one shared file configure-other-componenents.txt - use labeled list instead of separate sections, as the information in each section is limited. - simplify instructions for busybox/uclibc thanks to the kconfig-package infrastructure - rewrite instructions for Linux - add instructions for Barebox Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
// -*- mode:doc; -*-
|
|
// vim: set syntax=asciidoc:
|
|
|
|
== Configuration of other components
|
|
|
|
Before attempting to modify any of the components below, make sure you
|
|
have already configured Buildroot itself, and have enabled the
|
|
corresponding package.
|
|
|
|
BusyBox::
|
|
+
|
|
If you already have a BusyBox configuration file, you can directly
|
|
specify this file in the Buildroot configuration, using
|
|
+BR2_PACKAGE_BUSYBOX_CONFIG+. Otherwise, Buildroot will start from a
|
|
default BusyBox configuration file.
|
|
+
|
|
To make subsequent changes to the configuration, use +make
|
|
busybox-menuconfig+ to open the BusyBox configuration editor.
|
|
+
|
|
It is also possible to specify a BusyBox configuration file through an
|
|
environment variable, although this is not recommended. Refer to
|
|
xref:env-vars[] for more details.
|
|
|
|
uClibc::
|
|
+
|
|
Configuration of uClibc is done in the same way as for BusyBox. The
|
|
configuration variable to specify an existing configuration file is
|
|
+BR2_UCLIBC_CONFIG+. The command to make subsequent changes is +make
|
|
uclibc-menuconfig+.
|
|
|
|
Linux kernel::
|
|
+
|
|
If you already have a kernel configuration file, you can directly
|
|
specify this file in the Buildroot configuration, using
|
|
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG+.
|
|
+
|
|
If you do not yet have a kernel configuration file, you can either start
|
|
by specifying a defconfig in the Buildroot configuration, using
|
|
+BR2_LINUX_KERNEL_USE_DEFCONFIG+, or start by creating an empty file and
|
|
specifying it as custom configuration file, using
|
|
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG+.
|
|
+
|
|
To make subsequent changes to the configuration, use +make
|
|
linux-menuconfig+ to open the Linux configuration editor.
|
|
|
|
Barebox::
|
|
+
|
|
Configuration of Barebox is done in the same way as for the Linux
|
|
kernel. The corresponding configuration variables are
|
|
+BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG+ and
|
|
+BR2_TARGET_BAREBOX_USE_DEFCONFIG+. To open the configuration editor,
|
|
use +make barebox-menuconfig+.
|