]> git.dujemihanovic.xyz Git - u-boot.git/commit
Remove including timestamp.h in version.h
authorPali Rohár <pali@kernel.org>
Mon, 2 Aug 2021 13:18:38 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:10:44 +0000 (12:10 -0400)
commit121a165c51cd281e61c9d45c3919608af42ca9cd
tree3ee694f9c5342307b1bbb4123276a5eeff77d57f
parentbc21ccbaaa7dda32ec6250cac5f9c9e47e5b629a
Remove including timestamp.h in version.h

Header file version.h does not use anything from timestamp.h. Including of
timestamp.h has side effect which cause recompiling object file at every
make run because timestamp.h changes at every run.

So remove timestamp.h from version.h and include timestamp.h in files
which needs it.

This change reduce recompilation time of final U-Boot binary when U-Boot
source files were not changed as less source files needs to be recompiled.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Add in lib/acpi/acpi_table.c and test/dm/acpi.c, rework a few others]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-rockchip/tpl.c
board/work-microwave/work_92105/work_92105_display.c
cmd/version.c
common/spl/spl.c
drivers/rtc/emul_rtc.c
include/version.h
lib/acpi/acpi_table.c
test/dm/acpi.c