xref: /OK3568_Linux_fs/buildroot/docs/manual/configure-other-components.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// -*- mode:doc; -*-
2// vim: set syntax=asciidoc:
3
4== Configuration of other components
5
6Before attempting to modify any of the components below, make sure you
7have already configured Buildroot itself, and have enabled the
8corresponding package.
9
10BusyBox::
11+
12If you already have a BusyBox configuration file, you can directly
13specify this file in the Buildroot configuration, using
14+BR2_PACKAGE_BUSYBOX_CONFIG+. Otherwise, Buildroot will start from a
15default BusyBox configuration file.
16+
17To make subsequent changes to the configuration, use +make
18busybox-menuconfig+ to open the BusyBox configuration editor.
19+
20It is also possible to specify a BusyBox configuration file through an
21environment variable, although this is not recommended. Refer to
22xref:env-vars[] for more details.
23
24uClibc::
25+
26Configuration of uClibc is done in the same way as for BusyBox. The
27configuration variable to specify an existing configuration file is
28+BR2_UCLIBC_CONFIG+. The command to make subsequent changes is +make
29uclibc-menuconfig+.
30
31Linux kernel::
32+
33If you already have a kernel configuration file, you can directly
34specify this file in the Buildroot configuration, using
35+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG+.
36+
37If you do not yet have a kernel configuration file, you can either start
38by specifying a defconfig in the Buildroot configuration, using
39+BR2_LINUX_KERNEL_USE_DEFCONFIG+, or start by creating an empty file and
40specifying it as custom configuration file, using
41+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG+.
42+
43To make subsequent changes to the configuration, use +make
44linux-menuconfig+ to open the Linux configuration editor.
45
46Barebox::
47+
48Configuration of Barebox is done in the same way as for the Linux
49kernel. The corresponding configuration variables are
50+BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG+ and
51+BR2_TARGET_BAREBOX_USE_DEFCONFIG+. To open the configuration editor,
52use +make barebox-menuconfig+.
53
54U-Boot::
55+
56Configuration of U-Boot (version 2015.04 or newer) is done in the same
57way as for the Linux kernel. The corresponding configuration variables
58are +BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG+ and
59+BR2_TARGET_UBOOT_USE_DEFCONFIG+. To open the configuration editor,
60use +make uboot-menuconfig+.
61