u-boot-initial-env: Add missing dependencies
authorTom Rini <trini@konsulko.com>
Sun, 9 Feb 2025 14:34:09 +0000 (08:34 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 18 Feb 2025 22:32:24 +0000 (16:32 -0600)
When performing a build consisting of only a defconfig target and then
this tool, we were missing two dependencies. Add them.

Signed-off-by: Tom Rini <trini@konsulko.com>
Makefile

index d4fedd8..41adac7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2512,7 +2512,7 @@ cmd_genenv = \
        sed -e '/^\s*$$/d' | \
        sort -t '=' -k 1,1 -s -o $@
 
-u-boot-initial-env: scripts_basic $(env_h) FORCE
+u-boot-initial-env: scripts_basic $(version_h) $(env_h) include/config.h FORCE
        $(Q)$(MAKE) $(build)=tools $(objtree)/tools/printinitialenv
        $(call if_changed,genenv)