Search code examples
buildroot

Where are buildroot BR2 options documented?


Is there a central place where all BR2 options used in config and defconfig files for buildroot are documented?

At the moment, I'm looking for ways to customize the buildroot target devicetree. I've stumbled across options BR2_LINUX_KERNEL_INTREE_DTS_NAME, BR2_LINUX_KERNEL_USE_CUSTOM_DTS, and BR2_LINUX_KERNEL_CUSTOM_DTS_PATH, but no documentation that tells me how to use them.

When searching for that documentation, I realized that I couldn't find a complete list of BR2 options and what they do. Does such a list exist? The buildroot manual does describe some BR2 options, but apparently not all of them.


Solution

  • Those options are documented in Kconfig environment. Just perform make menuconfig, select Kernel submenu, find one of DTS options and press H. You'll get a help text like this:

    BR2_LINUX_KERNEL_DTS_SUPPORT:                                                                                                                                                                                                       
    Compile one or more device tree sources into device tree                                                                                                                                                                          
    blobs.                                                                                                                                                                                                                            
    Select the dts files to compile in the options below.
    

    Most likely you need BR2_LINUX_KERNEL_CUSTOM_DTS_PATH.