From: Stefan Agner Date: Tue, 14 Nov 2017 14:47:18 +0000 (+0100) Subject: envtools: make sure version/timestamp header file are available X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=ded84f90a1066eef5f34daa4539273de64f7b811;p=u-boot.git 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 Tested-by: Peter Robinson Reviewed-by: Simon Glass --- diff --git a/Makefile b/Makefile index 61fd97377e..f8c66a2073 100644 --- a/Makefile +++ b/Makefile @@ -1447,7 +1447,7 @@ checkarmreloc: u-boot false; \ fi -envtools: scripts_basic +envtools: scripts_basic $(version_h) $(timestamp_h) $(Q)$(MAKE) $(build)=tools/env tools-only: scripts_basic $(version_h) $(timestamp_h)