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