Re: [RFC PATCH 0/4] CONFIG_IS_ENABLED magic

2020-06-19 Thread Tom Rini
On Fri, Jun 12, 2020 at 01:02:12PM +0200, Rasmus Villemoes wrote: > The first patch is just something I suggested to allow zstd support to > move forward. The remaining ones aim to make it more ergonomic to use > CONFIG_IS_ENABLED to exclude things from the build. > > While it currently works

[RFC PATCH 0/4] CONFIG_IS_ENABLED magic

2020-06-12 Thread Rasmus Villemoes
The first patch is just something I suggested to allow zstd support to move forward. The remaining ones aim to make it more ergonomic to use CONFIG_IS_ENABLED to exclude things from the build. While it currently works just fine in C code that one can do if (CONFIG_IS_ENABLED(FOO)) { } and