kconfig: update check_kconfigs.py to handle orsource command

check_kconfigs.py would only correctly handle "source", but not "rsource", "osource"
or "orsource".

Fixed any warnings detected after updating the test.
This commit is contained in:
Marius Vikhammer
2022-05-06 11:31:24 +08:00
parent 0b00831703
commit c7a827a136
8 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ menu "Hardware Settings"
bool
# Insert chip-specific MAC config
rsource "./port/$IDF_TARGET/Kconfig.mac"
rsource "./port/$IDF_TARGET/Kconfig.mac"
endmenu
menu "Sleep Config"
@@ -74,8 +74,8 @@ menu "Hardware Settings"
menu "RTC Clock Config"
orsource "./port/$IDF_TARGET/Kconfig.rtc"
# This is used for configure the RTC clock.
config RTC_CLOCK_BBPLL_POWER_ON_WITH_USB
# This is used for configure the RTC clock.
bool "Keep BBPLL clock always work"
depends on ESP_CONSOLE_USB_SERIAL_JTAG || ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
default y