summaryrefslogtreecommitdiffstats
path: root/common/command.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-01 15:13:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-11 12:36:08 +0200
commit3f1ff6b730ec17ce635fcf38770358d8042e80b4 (patch)
tree3b93a1f2f90bcfde6bfecd30d74635e54756c584 /common/command.c
parent09da8d4bab923871891e275e83c90419d9235231 (diff)
downloadbarebox-3f1ff6b730ec17ce635fcf38770358d8042e80b4.tar.gz
barebox-3f1ff6b730ec17ce635fcf38770358d8042e80b4.tar.xz
move version_string to seperate file
In a noninteractive environment barebox will be compiled without command support. So move version_string to a seperate file which is compiled unconditionally. Also, display the banner when the simple console support is used. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/command.c b/common/command.c
index f1aeeb9df0..ab02ed5322 100644
--- a/common/command.c
+++ b/common/command.c
@@ -33,12 +33,8 @@
#include <linux/list.h>
#include <init.h>
#include <complete.h>
-#include <generated/utsrelease.h>
#include <getopt.h>
-const char version_string[] =
- "barebox " UTS_RELEASE " (" __DATE__ " - " __TIME__ ")";
-
LIST_HEAD(command_list);
EXPORT_SYMBOL(command_list);