commit | a42a42cd5ad480d17b29af483cce3d84798eceab | [log] [tgz] |
---|---|---|
author | Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> | Mon Feb 10 04:18:50 2020 +0100 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed Feb 12 10:32:13 2020 -0600 |
tree | 03733e5abfa89d7126df17042be7553e1ab09a21 | |
parent | a8d15c12798ac1dc7b5a3548efc41b3ee7426a7e [diff] |
kconfig: Replace defconfig singe-symbol 'if's with 'depends on' Same deal as in commit eddd98f ("kconfig: Replace some single-symbol 'if's with 'depends on'"), for all symbols defined within defconfig files. See that commit for an explanation. Maybe 'if's were used originally to mirror the 'if's in the main Kconfig files, and then it got copied around by people assuming 'if' must work differently from 'depends on'. It doesn't match in every spot at least. Better to keep it simple and just consistently use 'depends on' when it's a single symbol/choice I think. Helps reinforce that 'if' isn't magic too. Verified by printing all Kconfig menu nodes (symbols, choices, menus, etc.) before and after the change and diffing (should show no difference). Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>