drivers/Kconfig: Move if/endif to subfolder Kconfig

Move if/endif to subfolder Kconfig and make ARCH_HAVE_XXX option always selectable by moving out of if/endif
This commit is contained in:
Xiang Xiao
2020-02-08 15:30:09 +08:00
committed by Gregory Nutt
parent fa3e66fe82
commit 3cb259daa6
28 changed files with 136 additions and 93 deletions
+4
View File
@@ -3,6 +3,8 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
if NETDEVICES
comment "General Ethernet MAC Driver Options"
config NET_RPMSG_DRV
@@ -483,3 +485,5 @@ config NETDEV_PHY_DEBUG
the NSH network initialization logic.
endif # ARCH_HAVE_PHY
endif # NETDEVICES