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>
This commit is contained in:
Simon Glass
2023-04-29 19:21:46 -06:00
committed by Tom Rini
parent 36fc832927
commit 1e4d965b59
4 changed files with 18 additions and 17 deletions

View File

@@ -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__ */