]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Fix incorrect FORCE deps on env rules
authorSimon Glass <sjg@chromium.org>
Sun, 30 Apr 2023 01:21:45 +0000 (19:21 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 21:23:01 +0000 (17:23 -0400)
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 <sjg@chromium.org>
Makefile

index 3f5249ceb52a0e2fdba5e997e0db585bf5c9dd62..65098ad32adebef6fde3a5dc0daa131102e765b1 100644 (file)
--- 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