From 12b0fa9ec30ba064e9f6864bd59186a9fb4d8382 Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 1 Dec 2022 01:55:50 +0800 Subject: [PATCH] arm/sama5: fix recursive dependency arch/arm/src/sama5/Kconfig:819:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" arch/arm/src/sama5/Kconfig:819: choice contains symbol SAMA5_FLEXCOM0_USART For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" arch/arm/src/sama5/Kconfig:824: symbol SAMA5_FLEXCOM0_USART is part of choice SAMA5_FLEXCOM0_USART For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" arch/arm/src/sama5/Kconfig:824: symbol SAMA5_FLEXCOM0_USART is part of choice Signed-off-by: chao an --- arch/arm/src/sama5/Kconfig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/src/sama5/Kconfig b/arch/arm/src/sama5/Kconfig index 435a647385..931b590ad9 100644 --- a/arch/arm/src/sama5/Kconfig +++ b/arch/arm/src/sama5/Kconfig @@ -823,7 +823,6 @@ choice config SAMA5_FLEXCOM0_USART bool "USART" - select SAMA5_FLEXCOM0_USART select SAMA5_FLEXCOM_USART select USART0_SERIALDRIVER select ARCH_HAVE_SERIAL_TERMIOS @@ -845,7 +844,6 @@ choice config SAMA5_FLEXCOM1_USART bool "USART" - select SAMA5_FLEXCOM1_USART select SAMA5_FLEXCOM_USART select USART1_SERIALDRIVER select ARCH_HAVE_SERIAL_TERMIOS @@ -867,7 +865,6 @@ choice config SAMA5_FLEXCOM2_USART bool "USART" - select SAMA5_FLEXCOM2_USART select SAMA5_FLEXCOM_USART select USART2_SERIALDRIVER select ARCH_HAVE_SERIAL_TERMIOS @@ -889,7 +886,6 @@ choice config SAMA5_FLEXCOM3_USART bool "USART" - select SAMA5_FLEXCOM3_USART select SAMA5_FLEXCOM_USART select USART3_SERIALDRIVER select ARCH_HAVE_SERIAL_TERMIOS @@ -911,7 +907,6 @@ choice config SAMA5_FLEXCOM4_USART bool "USART" - select SAMA5_FLEXCOM4_USART select SAMA5_FLEXCOM_USART select USART4_SERIALDRIVER select ARCH_HAVE_SERIAL_TERMIOS