diff options
| author | Pali Rohár <[email protected]> | 2021-08-02 15:18:31 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-17 12:10:44 -0400 |
| commit | bdfb6d70bb45da6e31785171fed70cb93b0ff36b (patch) | |
| tree | add9a41d8f7076b316ba84cd356b64167e11c58e /drivers | |
| parent | fa9c5da70206621b42530e58882680fb1c4079cd (diff) | |
version: Move version_string[] from version.h to version_string.h
More C files do not use compile time timestamp macros and do not have to be
recompiled every time when SOURCE_DATE_EPOCH changes.
This patch moves version_string[] from version.h to version_string.h and
updates other C files which only needs version_string[] string to include
version_string.h instead of version.h. After applying this patch these
files are not recompiled every time when SOURCE_DATE_EPOCH changes.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/cfb_console.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 5e1ee061e8e..830ea80f4bc 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -71,7 +71,7 @@ #include <fdtdec.h> #include <gzip.h> #include <log.h> -#include <version.h> +#include <version_string.h> #include <malloc.h> #include <video.h> #include <asm/global_data.h> @@ -108,7 +108,6 @@ * Console device */ -#include <version.h> #include <linux/types.h> #include <stdio_dev.h> #include <video_font.h> |
