From: Simon Glass Date: Sun, 30 Apr 2023 01:21:45 +0000 (-0600) Subject: Makefile: Fix incorrect FORCE deps on env rules X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=36fc832927eba16b175e07c5a42b9d7ab8f5552b;p=u-boot.git 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 --- 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