summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-01-08 14:10:07 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-01-11 21:22:34 +0800
commitb7498fdb821bf564fd5435408aefddb93d2b8597 (patch)
treebf8208905033dd8f17ad0b32294ac0cfa97c4c6d /common
parent21d0fac1382cbe20dfc95c0a400350632f28cbdb (diff)
downloadbarebox-b7498fdb821bf564fd5435408aefddb93d2b8597.tar.gz
barebox-b7498fdb821bf564fd5435408aefddb93d2b8597.tar.xz
banner: add config to disable it
this will allow to save 144 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig4
-rw-r--r--common/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index ca4f09922c..d184d9ed37 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -74,6 +74,10 @@ config LOCALVERSION_AUTO
config BOARDINFO
string
+config BANNER
+ bool "display banner"
+ default y
+
config ENVIRONMENT_VARIABLES
bool "environment variables support"
diff --git a/common/Makefile b/common/Makefile
index d1132c3e52..eaf74a616c 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -17,7 +17,7 @@ obj-$(CONFIG_MALLOC_TLSF) += tlsf_malloc.o
obj-$(CONFIG_MALLOC_TLSF) += tlsf.o
obj-$(CONFIG_MALLOC_DUMMY) += dummy_malloc.o
obj-y += clock.o
-obj-y += version.o
+obj-$(CONFIG_BANNER) += version.o
obj-$(CONFIG_COMMAND_SUPPORT) += command.o
obj-$(CONFIG_CONSOLE_FULL) += console.o
obj-$(CONFIG_CONSOLE_SIMPLE) += console_simple.o