提交 ded84f90 编写于 作者: S Stefan Agner 提交者: Tom Rini

envtools: make sure version/timestamp header file are available

With commit 84d46e7e ("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: 84d46e7e ("tools: env: allow to print U-Boot version")
Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
Tested-by: NPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 c6831c74
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册