[Buildroot] [Q] Make kconfig more flexible with selecting options

Vadim Kochan vadim4j at gmail.com
Thu Apr 4 15:10:37 UTC 2019

Hi All!

I am almost sure that the idea will be rejected but I will try)

I am trying to make external buildroot trees ability to select any
config option,
even if it is not boolean or tristate.

For example, I have external rpi br2 tree which in case of u-boot would
select default uboot board name as "rpi_3_32b" (BR2_TARGET_UBOOT_BOARD_DEFCONFIG
if it not set already), something like this:

config XXX
    default BR2_TARGET_UBOOT_BOARD_DEFCONFIG "rpi_3_32b"

of course to make it possible it needs to extend the kconfig parser,
there is one
RFC which I think allows to select config option with value other than
tristate or boolean:


and the linux kernel community rejected this approach ( I did not dig
into the implementation in details).

Vadim Kochan

More information about the buildroot mailing list