uboot: debug u-boot directory contents before/after patching

- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
This commit is contained in:
Ricardo Pardini
2025-01-04 23:33:01 +01:00
parent d8c6c9044c
commit fdde912ebf

View File

@@ -52,8 +52,18 @@ function patch_uboot_target() {
function compile_uboot_target() {
: "${artifact_version:?artifact_version is not set}"
if [[ "${SHOW_DEBUG}" == "yes" ]]; then
display_alert "${uboot_prefix}Listing contents of u-boot directory" "'${version}' '${target_make}' before patching" "debug"
run_host_command_logged "ls -laht"
fi
patch_uboot_target
if [[ "${SHOW_DEBUG}" == "yes" ]]; then
display_alert "${uboot_prefix}Listing contents of u-boot directory" "'${version}' '${target_make}' after patching" "debug"
run_host_command_logged "ls -laht"
fi
if [[ $CREATE_PATCHES == yes ]]; then
return 0
fi