summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown2012-11-02 15:46:39 +0100
committerMichael Brown2012-11-02 15:46:39 +0100
commit4867085c0cd334004e8d67dff7bd53996f23ade6 (patch)
tree31f92c7844273c3b495c105a4c24d98dc54917ac /src/include/ipxe
parent[build] Inhibit .eh_frame on newer gcc versions (diff)
downloadipxe-4867085c0cd334004e8d67dff7bd53996f23ade6.tar.gz
ipxe-4867085c0cd334004e8d67dff7bd53996f23ade6.tar.xz
ipxe-4867085c0cd334004e8d67dff7bd53996f23ade6.zip
[build] Include version number within only a single object file
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/version.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/ipxe/version.h b/src/include/ipxe/version.h
new file mode 100644
index 000000000..aa894d7e8
--- /dev/null
+++ b/src/include/ipxe/version.h
@@ -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 */