diff --git a/lib/functions/compilation/kernel.sh b/lib/functions/compilation/kernel.sh index 13b35e86ae11..98aea39df3af 100644 --- a/lib/functions/compilation/kernel.sh +++ b/lib/functions/compilation/kernel.sh @@ -41,14 +41,14 @@ function compile_kernel() { kernel_base_revision_date="$(LC_ALL=C date -d "@${kernel_base_revision_ts}")" display_alert "Using Kernel git revision" "${kernel_git_revision} at '${kernel_base_revision_date}'" + # Possibly 'make clean'. + LOG_SECTION="kernel_maybe_clean" do_with_logging do_with_hooks kernel_maybe_clean + # Call extension method to prepare extra sources call_extension_method "kernel_copy_extra_sources" <<- 'ARMBIAN_KERNEL_SOURCES_EXTRA' *Hook to copy extra kernel sources to the kernel under compilation* ARMBIAN_KERNEL_SOURCES_EXTRA - # Possibly 'make clean'. - LOG_SECTION="kernel_maybe_clean" do_with_logging do_with_hooks kernel_maybe_clean - # Patching. declare hash pre_patch_version kernel_main_patching # has it's own logging sections inside