armbian-next: cli: half-assed, legacy based, kernel and u-boot cli commands

- @TODO: a placeholder for now, needs refactoring after patching-hash/versioned-kernel work
This commit is contained in:
Ricardo Pardini
2023-01-13 04:03:51 +01:00
parent ef36016ee4
commit 878332fea1

View File

@@ -16,12 +16,17 @@ function armbian_register_commands() {
["configdump"]="config_dump" # idem
["json-info"]="json_info" # implemented in cli_json_info_pre_run and cli_json_info_run
["kernel-patches-to-git"]="patch_kernel" # implemented in cli_patch_kernel_pre_run and cli_patch_kernel_run
["build"]="standard_build" # implemented in cli_standard_build_pre_run and cli_standard_build_run
["distccd"]="distccd" # implemented in cli_distccd_pre_run and cli_distccd_run
# shortcuts, see vars set below
["kernel"]="standard_build"
["u-boot"]="standard_build"
["uboot"]="standard_build"
["undecided"]="undecided" # implemented in cli_undecided_pre_run and cli_undecided_run - relaunches either build or docker
)
@@ -37,6 +42,9 @@ function armbian_register_commands() {
["config-dump"]="CONFIG_DEFS_ONLY='yes'"
["configdump"]="CONFIG_DEFS_ONLY='yes'"
["kernel"]="KERNEL_ONLY='yes' JUST_KERNEL='yes'"
["u-boot"]="KERNEL_ONLY='yes' JUST_UBOOT='yes'"
["uboot"]="KERNEL_ONLY='yes' JUST_UBOOT='yes'"
)
# Override the LOG_CLI_ID to change the log file name.