[Buildroot] [git commit branch/2022.05.x] package/wilc-driver: fix kconfig syntax

Peter Korsgaard peter at korsgaard.com
Thu Aug 4 15:04:29 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=3736acba6c0339081561dcfe9cde25fa6cf7d474
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.05.x

Sub-options SPI and SDIO weren't rendering as nested options for
wilc-driver, instead showing on the same indent level. Move the
comment and depends on to bottom of file to correct this.

Fixes: 1a47c42b33 ("package/wilc-driver: add missing BR2_LINUX_KERNEL dependency")
Signed-off-by: Kris Bahnsen <kris at embeddedTS.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit c74332c780019da16e373c4fde2bb52068e96b99)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/wilc-driver/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/wilc-driver/Config.in b/package/wilc-driver/Config.in
index 24a7b05b17..7ed062bb66 100644
--- a/package/wilc-driver/Config.in
+++ b/package/wilc-driver/Config.in
@@ -17,9 +17,6 @@ config BR2_PACKAGE_WILC_DRIVER
 
 	  https://github.com/embeddedTS/wilc3000-external-module
 
-comment "wilc kernel module needs a Linux kernel to be built"
-	depends on !BR2_LINUX_KERNEL
-
 if BR2_PACKAGE_WILC_DRIVER
 
 config BR2_PACKAGE_WILC_DRIVER_SPI
@@ -60,3 +57,6 @@ config BR2_PACKAGE_WILC_DRIVER_SDIO_OOB
 	  time division interrupt.
 endif
 endif
+
+comment "wilc kernel module needs a Linux kernel to be built"
+	depends on !BR2_LINUX_KERNEL



More information about the buildroot mailing list