summaryrefslogtreecommitdiffstats
path: root/common/version.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-17 16:17:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-22 08:11:58 +0200
commit0bd652f62a5406aed7fbb3e0349b8c787bde6953 (patch)
tree2955236c35fa338ef6fabbd27b7de0c7196601ed /common/version.c
parentad7f4c29b97122b9a0343d9c96bc0dbce99c5665 (diff)
downloadbarebox-0bd652f62a5406aed7fbb3e0349b8c787bde6953.tar.gz
Add release string
Currently we only have version_string which contains information about the date the binary was compiled and by whom it has been compiled. This adds a release_string which only contains the plain release version. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/version.c')
-rw-r--r--common/version.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/version.c b/common/version.c
index 79b2a54..51d4d48 100644
--- a/common/version.c
+++ b/common/version.c
@@ -6,6 +6,10 @@ const char version_string[] =
"barebox " UTS_RELEASE " " UTS_VERSION "\n";
EXPORT_SYMBOL(version_string);
+const char release_string[] =
+ "barebox-" UTS_RELEASE;
+EXPORT_SYMBOL(release_string);
+
void barebox_banner (void)
{
pr_info("\n\n%s\n\n", version_string);