Skip to content
Commit 244f826e authored by Carles Cufi's avatar Carles Cufi
Browse files

cmake: remove _if_kconfig() functions



This set of functions seem to be there just because of historical
reasons, stemming from Kbuild. They are non-obvious and prone to errors,
so remove them in favor of the `_ifdef()` ones with an explicit
`CONFIG_` condition.

Script used:

git grep -l _if_kconfig | xargs sed -E -i
"s/_if_kconfig\(\s*(\w*)/_ifdef(CONFIG_\U\1\E \1/g"

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent dc48999e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment