From 121a165c51cd281e61c9d45c3919608af42ca9cd Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Mon, 2 Aug 2021 15:18:38 +0200 Subject: 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 Reviewed-by: Simon Glass Reviewed-by: Tom Rini [trini: Add in lib/acpi/acpi_table.c and test/dm/acpi.c, rework a few others] Signed-off-by: Tom Rini --- drivers/rtc/emul_rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/rtc/emul_rtc.c b/drivers/rtc/emul_rtc.c index 8f0e1ab5ac6..6f47d82522b 100644 --- a/drivers/rtc/emul_rtc.c +++ b/drivers/rtc/emul_rtc.c @@ -9,8 +9,8 @@ #include #include #include -#include #include +#include /** * struct emul_rtc - private data for emulated RTC driver -- cgit v1.2.3