boards/xtensa: Avoid multiple inclusion of the common Kconfig

Also added a condition (!ARCH_BOARD_CUSTOM) for preventing that
out-of-tree ESP32-based custom boards carry out the in-tree common
directory.
This commit is contained in:
Gustavo Henrique Nihei 2021-04-09 10:39:40 -03:00 committed by Xiang Xiao
parent 8218d5ea76
commit 6c05b2479e
4 changed files with 3 additions and 6 deletions

View File

@ -3116,6 +3116,9 @@ endif
if ARCH_BOARD_RX65N_GRROSE
source "boards/renesas/rx65n/rx65n-grrose/Kconfig"
endif
if ARCH_CHIP_ESP32 && !ARCH_BOARD_CUSTOM
source "boards/xtensa/esp32/common/Kconfig"
endif
if ARCH_BOARD_ESP32_DEVKITC
source "boards/xtensa/esp32/esp32-devkitc/Kconfig"
endif

View File

@ -5,8 +5,6 @@
if ARCH_BOARD_ESP32_DEVKITC
source boards/xtensa/esp32/common/Kconfig
if PM
config PM_ALARM_SEC

View File

@ -5,6 +5,4 @@
if ARCH_BOARD_ESP32_ETHERNETKIT
source boards/xtensa/esp32/common/Kconfig
endif # ARCH_BOARD_ESP32_ETHERNETKIT

View File

@ -5,6 +5,4 @@
if ARCH_BOARD_ESP32_WROVERKIT
source boards/xtensa/esp32/common/Kconfig
endif # ARCH_BOARD_ESP32_WROVERKIT