envtools: make sure version/timestamp header file are available
authorStefan Agner <stefan.agner@toradex.com>
Tue, 14 Nov 2017 14:47:18 +0000 (15:47 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 21 Nov 2017 12:43:32 +0000 (07:43 -0500)
commitded84f90a1066eef5f34daa4539273de64f7b811
tree7d9a5bd3721ada95bda883aba810da16c22d01ce
parentc6831c74a9e9dbedc351de94d23d35188ae1a39b
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>
Makefile