meson-s4t7: fix kernel headers installation failure due to missing make file

This commit is contained in:
Gunjan Gupta 2024-02-20 15:31:44 +05:30
parent 2bce64e24d
commit 36e6ab2ab6

View File

@ -154,6 +154,14 @@ function kernel_copy_extra_sources__khadas_common_drivers() {
fetch_from_repo "${COMMON_DRIVERS_SOURCE}" "common_drivers:${KERNEL_MAJOR_MINOR}" "${KERNELBRANCH}" "yes"
}
function pre_package_kernel_headers__copy_common_drivers_header_include_mk_file() {
display_alert "Copy common_drivers/header_include.mk file in kernel headers"
declare makefile_destination="${headers_target_dir}"/common_drivers
run_host_command_logged mkdir -p ${makefile_destination}
run_host_command_logged cp ${kernel_work_dir}/common_drivers/header_include.mk ${makefile_destination}/
run_host_command_logged cp -r ${kernel_work_dir}/common_drivers/include ${makefile_destination}/
}
function pre_package_kernel_image__copy_meson_s4t7_overlays() {
display_alert "Copy meson s4t7 overlays"
declare dtbo_destination="${tmp_kernel_install_dirs[INSTALL_DTBS_PATH]}"/amlogic