mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
envtools: make sure version/timestamp header file are available
With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version") the fw_env utilities need the version.h header file. Building only the envtools in a pristine build directory will fail due to missing header files. Make sure the header files are a dependency of the envtools target. Fixes: 84d46e7e8948 ("tools: env: allow to print U-Boot version") Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c6831c74a9
commit
ded84f90a1
2
Makefile
2
Makefile
@ -1447,7 +1447,7 @@ checkarmreloc: u-boot
|
|||||||
false; \
|
false; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
envtools: scripts_basic
|
envtools: scripts_basic $(version_h) $(timestamp_h)
|
||||||
$(Q)$(MAKE) $(build)=tools/env
|
$(Q)$(MAKE) $(build)=tools/env
|
||||||
|
|
||||||
tools-only: scripts_basic $(version_h) $(timestamp_h)
|
tools-only: scripts_basic $(version_h) $(timestamp_h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user