]> git.dujemihanovic.xyz Git - u-boot.git/commit
version: Move version_string[] from version.h to version_string.h
authorPali Rohár <pali@kernel.org>
Mon, 2 Aug 2021 13:18:31 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:10:44 +0000 (12:10 -0400)
commitbdfb6d70bb45da6e31785171fed70cb93b0ff36b
treeadd9a41d8f7076b316ba84cd356b64167e11c58e
parentfa9c5da70206621b42530e58882680fb1c4079cd
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 <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ge/b1x5v2/b1x5v2.c
board/ge/bx50v3/bx50v3.c
board/ge/mx53ppd/mx53ppd.c
cmd/version.c
common/main.c
drivers/video/cfb_console.c
include/version.h
include/version_string.h [new file with mode: 0644]
lib/display_options.c
lib/efi_loader/efi_tcg2.c
test/print_ut.c