5.2 Configuring the Buildroot
In Buildroot root directory, there is configs
directory containing
several default configurations. The buildroot-external-microchip repository provides
extra defconfigs in its own configs
directory. All these defconfigs
target the SD card as boot media.
Configure the buildroot with the defconfig file present in the external tree using BR2_EXTERNAL. Refer the following command for details:
$ BR2_EXTERNAL=../buildroot-external-microchip/ make sama5d27_som1_ek_graphics_defconfig
By
configuring the buildroot with sama5d27_som1_ek_graphics_defconfig
file, the WILC support will be included into the package. WILC driver support will be
added to the kernel present at
buildroot-at91/output/build/linux-linux4sam_6.2/
. The command will configure the buildroot and generate a
.config
file.
Additional modules to be added to the buildroot apart from what is included in the defconfig file use the following command and add necessary components into buildroot.