edj
edj

Reputation: 543

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.

Upvotes: 5

Views: 3331

Answers (2)

Chris F.
Chris F.

Reputation: 11

This will get you close. At least all the help will be in one file for you to peruse at your leisure:

    $ mkdir ~/tmp
    $ cd <path_to>/buildroot<version>$ for f in `find . -name *.in`; do cat $f >> ~/tmp/in-files; done;
    $ vi ~/tmp/in-files 

You could also extend the 'do' portion to include using awk, sed, or grep so that you only extract the 'help' bits and not the rest of the configuration input stuff.

Upvotes: 0

yegorich
yegorich

Reputation: 4849

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.

Upvotes: 2

Related Questions