[build] Include version number within only a single object file

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-11-02 14:46:39 +00:00
parent 0932bc5156
commit 4867085c0c
11 changed files with 87 additions and 21 deletions

View File

@@ -0,0 +1,16 @@
#ifndef _IPXE_VERSION_H
#define _IPXE_VERSION_H
/** @file
*
* Version number
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
extern const int product_major_version;
extern const int product_minor_version;
extern const char *product_version;
#endif /* _IPXE_VERSION_H */