[PATCH master 2/2] kbuild: fix spurious CI failure around sconfig_names.h
Ahmad Fatoum
a.fatoum at barebox.org
Thu Oct 9 22:52:29 PDT 2025
include/generated/security_autconf.h must be available first, because
sconfigpost calls realpath on it.
Reflect this dependency in the Makefile.
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 2b846411cb85..78849535396f 100644
--- a/Makefile
+++ b/Makefile
@@ -1226,7 +1226,7 @@ quiet_cmd_sconfigpost = SCONFPP $@
include/generated/security_autoconf.h: .security_config scripts_basic FORCE
$(call if_changed_dep,sconfigpost,-e)
-include/generated/sconfig_names.h: .security_config scripts_basic FORCE
+include/generated/sconfig_names.h: .security_config scripts_basic include/generated/security_autoconf.h FORCE
$(call if_changed_dep,sconfigpost,-s)
archprepare: include/generated/security_autoconf.h include/generated/sconfig_names.h
--
2.47.3
More information about the barebox
mailing list