mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
khadas-vim3: u-boot v2024.01: enable more compression, kaslr, and led config options via hook
This commit is contained in:
@@ -40,3 +40,16 @@ function post_uboot_custom_postprocess__khadas_vim3_uboot() {
|
||||
display_alert "Signing u-boot FIP" "${BOARD}" "info"
|
||||
uboot_g12_postprocess "${SRC}"/cache/sources/amlogic-boot-fip/khadas-vim3 g12b
|
||||
}
|
||||
|
||||
# Enable extra u-boot .config options, this way we avoid patching defconfig
|
||||
function post_config_uboot_target__extra_configs_for_khadas_vim3() {
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LZO
|
||||
run_host_command_logged scripts/config --enable CONFIG_BZIP2
|
||||
run_host_command_logged scripts/config --enable CONFIG_ZSTD
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable kaslrseed support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_KASLRSEED
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user