From cbce0a61ad484e6af1ab8f2446b77fee7feecc56 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 14 Nov 2017 15:47:18 +0100 Subject: [PATCH] envtools: make sure version/timestamp header file are available With commit 93c347c8bcbf ("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: 93c347c8bcbf ("tools: env: allow to print U-Boot version") Signed-off-by: Stefan Agner Tested-by: Peter Robinson Reviewed-by: Simon Glass --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5