From 1e4d965b592fb2f790948eed2db8010bda674fc5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 29 Apr 2023 19:21:46 -0600 Subject: acpi: Put the version numbers in a central place At present two acpi files are built every time since they use a version number from version.h This is not necessary. Make use of the same technique as for the version string, so that they are build only when they change. Signed-off-by: Simon Glass --- include/version_string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/version_string.h') diff --git a/include/version_string.h b/include/version_string.h index a89a6e43705..a7d07e4cc7c 100644 --- a/include/version_string.h +++ b/include/version_string.h @@ -4,5 +4,7 @@ #define __VERSION_STRING_H__ extern const char version_string[]; +extern const unsigned short version_num; +extern const unsigned char version_num_patch; #endif /* __VERSION_STRING_H__ */ -- cgit v1.2.3