[PATCH] tools: Remove #include <version.h>
Simon Glass
sjg at chromium.org
Mon Feb 1 21:43:50 CET 2021
On Wed, 27 Jan 2021 at 08:34, Pali Rohár <pali at kernel.org> wrote:
>
> Header file version.h includes also autogenerated file timestamp.h which
> is recompiled on every time when SOURCE_DATE_EPOCH change.
>
> Tools do not use build time therefore they do not have to include
> timestamp.h file.
>
> This change prevents recompiling tools every time when SOURCE_DATE_EPOCH
> changes.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
> tools/dumpimage.c | 2 +-
> tools/mkenvimage.c | 2 +-
> tools/mkimage.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list