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 <[email protected]>
---
 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


Reply via email to