armbian-next: interactive: info msg before (slow) gathering of all boards

This commit is contained in:
Ricardo Pardini 2023-01-21 20:03:25 +01:00
parent 18c9946a4d
commit 7f16064c23
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ function interactive_config_ask_kernel_configure() {
# declare -A dict_all_board_types=() dict_all_board_source_files=() dict_all_board_descriptions=() # dictionaries
# get_list_of_all_buildable_boards arr_all_board_names arr_all_board_options dict_all_board_types dict_all_board_source_files dict_all_board_descriptions # invoke
function get_list_of_all_buildable_boards() {
display_alert "Generating list of all available boards" "might take a while" ""
local -a board_types=("conf")
[[ "${WIP_STATE}" != "supported" ]] && board_types+=("wip" "csc" "eos" "tvb")
local -a board_file_paths=("${SRC}/config/boards" "${USERPATCHES_PATH}/config/boards")

View File

@ -5,7 +5,7 @@ function config_possibly_interactive_kernel_board() {
[[ -z $KERNEL_ONLY ]] && exit_with_error "No option selected: KERNEL_ONLY"
[[ -z $KERNEL_CONFIGURE ]] && exit_with_error "No option selected: KERNEL_CONFIGURE"
interactive_config_ask_board_list # this uses get_list_of_all_buildable_boards too
interactive_config_ask_board_list # this uses get_list_of_all_buildable_boards
[[ -z $BOARD ]] && exit_with_error "No board selected: BOARD"
return 0 # shortcircuit above