mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
odroidxu4: fix the custom_kernel_config__hack_odroidxu4_firmware() for version hash (#4864)
This commit is contained in:
@@ -29,13 +29,17 @@ CPUMAX=2000000
|
||||
GOVERNOR=ondemand
|
||||
SERIALCON=ttySAC2
|
||||
|
||||
# @TODO: is this even needed? Looks like stuff for old HK vendor kernel...
|
||||
function custom_kernel_config__hack_odroidxu4_firmware() {
|
||||
display_alert "Copying firmware files" "odroidxu4 VENDOR KERNEL?" "warn"
|
||||
# check $kernel_work_dir is set and exists, or bail
|
||||
[[ -z "${kernel_work_dir}" ]] && exit_with_error "kernel_work_dir is not set"
|
||||
[[ ! -d "${kernel_work_dir}" ]] && exit_with_error "kernel_work_dir does not exist: ${kernel_work_dir}"
|
||||
run_host_command_logged mkdir -pv "${kernel_work_dir}/firmware/edid"
|
||||
run_host_command_logged cp -pv "${SRC}"/packages/blobs/odroidxu4/*.bin "${kernel_work_dir}/firmware/edid"
|
||||
kernel_config_modifying_hashes+=("odroidxu4_firmware")
|
||||
if [[ -f .config ]]; then
|
||||
display_alert "Copying firmware files" "odroidxu4 VENDOR KERNEL?" "warn"
|
||||
# check $kernel_work_dir is set and exists, or bail
|
||||
[[ -z "${kernel_work_dir}" ]] && exit_with_error "kernel_work_dir is not set"
|
||||
[[ ! -d "${kernel_work_dir}" ]] && exit_with_error "kernel_work_dir does not exist: ${kernel_work_dir}"
|
||||
run_host_command_logged mkdir -pv "${kernel_work_dir}/firmware/edid"
|
||||
run_host_command_logged cp -pv "${SRC}"/packages/blobs/odroidxu4/*.bin "${kernel_work_dir}/firmware/edid"
|
||||
fi
|
||||
}
|
||||
|
||||
setup_write_uboot_platform() {
|
||||
|
||||
Reference in New Issue
Block a user