From 36fc832927eba16b175e07c5a42b9d7ab8f5552b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 29 Apr 2023 19:21:45 -0600 Subject: [PATCH] Makefile: Fix incorrect FORCE deps on env rules These rules run on every build even if nothing has changed. The FORCE dependency is only needed for if_changed, not for cmd. Drop it. Signed-off-by: Simon Glass --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3f5249ceb5..65098ad32a 100644 --- a/Makefile +++ b/Makefile @@ -1812,7 +1812,7 @@ quiet_cmd_gen_envp = ENVP $@ rm -f $@; \ touch $@ ; \ fi -include/generated/env.in: include/generated/env.txt FORCE +include/generated/env.in: include/generated/env.txt $(call cmd,gen_envp) # Regenerate the environment if it changes @@ -1830,7 +1830,7 @@ quiet_cmd_envc = ENVC $@ touch $@ ; \ fi -include/generated/env.txt: $(wildcard $(ENV_FILE)) FORCE +include/generated/env.txt: $(wildcard $(ENV_FILE)) $(call cmd,envc) # Write out the resulting environment, converted to a C string -- 2.39.5