From bf1f57faef162d50a375aa9f0062ca377d195832 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sun, 18 Feb 2024 14:20:31 +0100 Subject: [PATCH] artifact-uboot: include BOOTCONFIG in u-boot artifact version hash - HOW did we get this far without this? - should cause rebuild of all u-boots, hopefully --- lib/functions/artifacts/artifact-uboot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/functions/artifacts/artifact-uboot.sh b/lib/functions/artifacts/artifact-uboot.sh index 84ce63fa95..09deb309e5 100644 --- a/lib/functions/artifacts/artifact-uboot.sh +++ b/lib/functions/artifacts/artifact-uboot.sh @@ -90,9 +90,11 @@ function artifact_uboot_prepare_version() { hash_hooks_and_functions="$(echo "${hash_hooks}" "${hash_uboot_functions}" | sha256sum | cut -d' ' -f1)" declare hash_hooks_and_functions_short="${hash_hooks_and_functions:0:${short_hash_size}}" + display_alert "BOOTCONFIG: ${BOOTCONFIG}" "BOOTCONFIG: ${BOOTCONFIG}" "debug" + # Hash variables that affect the build and package of u-boot declare -a vars_to_hash=( - "BASE_VAR_REBUILD_2" # Change this to force a full rebuild of all uboot's + "${BOOTCONFIG:-"no_bootconfig"}" "${BOOTDELAY}" "${UBOOT_DEBUGGING}" "${UBOOT_TARGET_MAP}" # general for all families "${BOOT_SCENARIO}" "${BOOT_SUPPORT_SPI}" "${BOOT_SOC}" # rockchip stuff, sorry. "${DDR_BLOB}" "${BL31_BLOB}" "${MINILOADER_BLOB}" # More rockchip stuff, even more sorry.