From 2d3102a8b313302d7a451ddde4a35dc914e1397b Mon Sep 17 00:00:00 2001 From: Fiona Klute Date: Mon, 19 Oct 2026 01:29:15 +0200 Subject: [PATCH] package/uboot-tools: fix build without FIT support Commit d7ccf54d7f8cfcb1ab40b227c080aee36f5a6aa1 ("package/uboot-tools: fix target FIT signature support") changed how options for FIT support are written to include/generated/autoconf.h, removing the unconditional "echo" call (possibly with empty arguments) that existed before. Because of this, include/generated/autoconf.h was not created when U-Boot was built without FIT support, making the build fail because of the missing header. Add a "touch" to ensure the file is always created. Fixes: d7ccf54d7f8cfcb1ab40b227c080aee36f5a6aa1 ("package/uboot-tools: fix target FIT signature support") Signed-off-by: Fiona Klute Signed-off-by: Thomas Petazzoni --- package/uboot-tools/uboot-tools.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk index 32fe9f1d7b..87b708ac5c 100644 --- a/package/uboot-tools/uboot-tools.mk +++ b/package/uboot-tools/uboot-tools.mk @@ -31,6 +31,7 @@ define UBOOT_TOOLS_CONFIGURE_CMDS echo "#include " > $(@D)/include/config.h touch $(@D)/include/config/auto.conf mkdir -p $(@D)/include/generated + touch $(@D)/include/generated/autoconf.h $(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),$(UBOOT_TOOLS_ENABLE_HASH_ALGOS)) $(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),echo '#define CONFIG_TOOLS_FIT_PRINT 1' >> $(@D)/include/generated/autoconf.h) $(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_IMAGE_PRE_LOAD 1' >> $(@D)/include/generated/autoconf.h)