aboutsummaryrefslogtreecommitdiff
path: root/include/version_string.h
diff options
context:
space:
mode:
authorSimon Glass2023-04-29 19:21:46 -0600
committerTom Rini2023-05-31 17:23:01 -0400
commit1e4d965b592fb2f790948eed2db8010bda674fc5 (patch)
treeb51cdf2aea49833b67ed0cded820103fec1f9110 /include/version_string.h
parent36fc832927eba16b175e07c5a42b9d7ab8f5552b (diff)
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 <sjg@chromium.org>
Diffstat (limited to 'include/version_string.h')
-rw-r--r--include/version_string.h2
1 files changed, 2 insertions, 0 deletions
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__ */