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:
parent
8218d5ea76
commit
6c05b2479e
|
@ -3116,6 +3116,9 @@ endif
|
||||||
if ARCH_BOARD_RX65N_GRROSE
|
if ARCH_BOARD_RX65N_GRROSE
|
||||||
source "boards/renesas/rx65n/rx65n-grrose/Kconfig"
|
source "boards/renesas/rx65n/rx65n-grrose/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
if ARCH_CHIP_ESP32 && !ARCH_BOARD_CUSTOM
|
||||||
|
source "boards/xtensa/esp32/common/Kconfig"
|
||||||
|
endif
|
||||||
if ARCH_BOARD_ESP32_DEVKITC
|
if ARCH_BOARD_ESP32_DEVKITC
|
||||||
source "boards/xtensa/esp32/esp32-devkitc/Kconfig"
|
source "boards/xtensa/esp32/esp32-devkitc/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
if ARCH_BOARD_ESP32_DEVKITC
|
if ARCH_BOARD_ESP32_DEVKITC
|
||||||
|
|
||||||
source boards/xtensa/esp32/common/Kconfig
|
|
||||||
|
|
||||||
if PM
|
if PM
|
||||||
|
|
||||||
config PM_ALARM_SEC
|
config PM_ALARM_SEC
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
|
|
||||||
if ARCH_BOARD_ESP32_ETHERNETKIT
|
if ARCH_BOARD_ESP32_ETHERNETKIT
|
||||||
|
|
||||||
source boards/xtensa/esp32/common/Kconfig
|
|
||||||
|
|
||||||
endif # ARCH_BOARD_ESP32_ETHERNETKIT
|
endif # ARCH_BOARD_ESP32_ETHERNETKIT
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
|
|
||||||
if ARCH_BOARD_ESP32_WROVERKIT
|
if ARCH_BOARD_ESP32_WROVERKIT
|
||||||
|
|
||||||
source boards/xtensa/esp32/common/Kconfig
|
|
||||||
|
|
||||||
endif # ARCH_BOARD_ESP32_WROVERKIT
|
endif # ARCH_BOARD_ESP32_WROVERKIT
|
||||||
|
|
Loading…
Reference in New Issue