Re: [PATCH 2/6] kconfig: Add support for conditional values

2020-05-22 Thread Simon Glass
Hi, On Fri, 22 May 2020 at 00:18, Heinrich Schuchardt wrote: > > On 5/22/20 4:17 AM, Masahiro Yamada wrote: > > On Fri, May 22, 2020 at 11:02 AM Simon Glass wrote: > >> > >> At present if an optional Kconfig value needs to be used it must be > >> bracketed by #ifdef. For example, with this Kconf

Re: [PATCH 2/6] kconfig: Add support for conditional values

2020-05-21 Thread Heinrich Schuchardt
On 5/22/20 4:17 AM, Masahiro Yamada wrote: > On Fri, May 22, 2020 at 11:02 AM Simon Glass wrote: >> >> At present if an optional Kconfig value needs to be used it must be >> bracketed by #ifdef. For example, with this Kconfig setup: >> >> config WIBBLE >> bool "Support wibbles, the world n

Re: [PATCH 2/6] kconfig: Add support for conditional values

2020-05-21 Thread Masahiro Yamada
On Fri, May 22, 2020 at 11:02 AM Simon Glass wrote: > > At present if an optional Kconfig value needs to be used it must be > bracketed by #ifdef. For example, with this Kconfig setup: > > config WIBBLE > bool "Support wibbles, the world needs more wibbles" > > config WIBBLE_ADDR >

[PATCH 2/6] kconfig: Add support for conditional values

2020-05-21 Thread Simon Glass
At present if an optional Kconfig value needs to be used it must be bracketed by #ifdef. For example, with this Kconfig setup: config WIBBLE bool "Support wibbles, the world needs more wibbles" config WIBBLE_ADDR hex "Address of the wibble" depends on WIBBLE then the foll