kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'

Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2020-02-09 22:26:07 +01:00 committed by Kumar Gala
commit 378d6b137a
74 changed files with 123 additions and 388 deletions

View file

@ -99,11 +99,10 @@ config BT_SPI_BLUENRG
endif # BT_SPI
if BT_RPMSG
config BT_RPMSG_NRF53
bool "nRF53 configuration of RPMsg"
default y if (BOARD_NRF5340_DK_NRF5340_CPUAPP || BOARD_NRF5340_DK_NRF5340_CPUAPPNS)
depends on BT_RPMSG
select IPM
select IPM_NRFX
select IPM_MSG_CH_1_ENABLE
@ -126,5 +125,3 @@ config BT_RPMSG_NRF53_RX_PRIO
default 8
endif # BT_RPMSG_NRF53
endif # BT_RPMSG