mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: restore creation of kconfig_menus.json
This commit is contained in:
parent
c879aff6f5
commit
f125a9aaf4
@ -58,6 +58,7 @@ function run_tests()
|
||||
BOOTLOADER_BINS="bootloader/bootloader.elf bootloader/bootloader.bin"
|
||||
APP_BINS="app-template.elf app-template.bin"
|
||||
PARTITION_BIN="partition_table/partition-table.bin"
|
||||
BUILD_ARTIFACTS="project_description.json flasher_args.json config/kconfig_menus.json config/sdkconfig.json"
|
||||
IDF_COMPONENT_PREFIX="__idf"
|
||||
|
||||
print_status "Initial clean build"
|
||||
@ -65,7 +66,7 @@ function run_tests()
|
||||
idf.py build || exit $?
|
||||
|
||||
# check all the expected build artifacts from the clean build
|
||||
assert_built ${APP_BINS} ${BOOTLOADER_BINS} ${PARTITION_BIN}
|
||||
assert_built ${APP_BINS} ${BOOTLOADER_BINS} ${PARTITION_BIN} ${BUILD_ARTIFACTS}
|
||||
|
||||
print_status "Updating component source file rebuilds component"
|
||||
# touch a file & do a build
|
||||
|
@ -137,7 +137,7 @@ function(__kconfig_generate_config sdkconfig sdkconfig_defaults)
|
||||
set(sdkconfig_cmake ${config_dir}/sdkconfig.cmake)
|
||||
set(sdkconfig_header ${config_dir}/sdkconfig.h)
|
||||
set(sdkconfig_json ${config_dir}/sdkconfig.json)
|
||||
set(sdkconfig_json_menus ${config_dir}/${kconfig_menus}.json)
|
||||
set(sdkconfig_json_menus ${config_dir}/kconfig_menus.json)
|
||||
|
||||
idf_build_get_property(output_sdkconfig __OUTPUT_SDKCONFIG)
|
||||
if(output_sdkconfig)
|
||||
|
Loading…
x
Reference in New Issue
Block a user