diff options
| author | Pali Rohár <[email protected]> | 2021-08-02 15:18:38 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-17 12:10:44 -0400 |
| commit | 121a165c51cd281e61c9d45c3919608af42ca9cd (patch) | |
| tree | 3ee694f9c5342307b1bbb4123276a5eeff77d57f /include/version.h | |
| parent | bc21ccbaaa7dda32ec6250cac5f9c9e47e5b629a (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
[trini: Add in lib/acpi/acpi_table.c and test/dm/acpi.c, rework a few others]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/version.h')
| -rw-r--r-- | include/version.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/version.h b/include/version.h index 8ee07134fd2..5955b21e890 100644 --- a/include/version.h +++ b/include/version.h @@ -7,8 +7,6 @@ #ifndef __VERSION_H__ #define __VERSION_H__ -#include <timestamp.h> - #ifndef DO_DEPS_ONLY #include "generated/version_autogenerated.h" #endif |
