summaryrefslogtreecommitdiffstats
path: root/scm-version.h.in
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 10:28:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-23 20:33:06 +0100
commit47349482ee7b737c3cd2a8a1acb18fc3d9b95b0a (patch)
treed4fb09d11b2998124032c7d1be70841cc42a9df1 /scm-version.h.in
parent31a21cc0187ceea70a826010476eb260823c5a45 (diff)
Provide scm version define.
This can be used by code to provide a more exact definition than a release version. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'scm-version.h.in')
-rw-r--r--scm-version.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/scm-version.h.in b/scm-version.h.in
new file mode 100644
index 0000000..d385a72
--- /dev/null
+++ b/scm-version.h.in
@@ -0,0 +1,8 @@
+#ifndef __SCM_VERSION_H
+#define __SCM_VERSION_H
+
+#define RELEASE_VER "@RELEASE_VER@"
+#define SCM_VER "@SCM_VER@"
+#define FULL_VER RELEASE_VER SCM_VER
+
+#endif /* __SCM_VERSION_H */