summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-10 13:47:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-10 13:47:28 +0100
commita1f6fae37977577792379e6b8441538783f5b3ca (patch)
treed9e0d55d41991671e22200bc78eb5e8fea92e861
parentc77c02f4a40e5f6ceabfce8d844207e1aaadd430 (diff)
add option for a quiet boot
-rw-r--r--target/Makefile4
-rw-r--r--target/linux/config/Config.in.debug7
2 files changed, 11 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 83c8ff900..2c1f7b686 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -55,6 +55,10 @@ endif
done;)
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ${FS_CMDLINE}"#' \
${BUILD_DIR}/.kernelconfig.board
+ifeq ($(ADK_QUIET_KERNEL),y)
+ @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 quiet"#' \
+ ${BUILD_DIR}/.kernelconfig.board
+endif
ifeq ($(ADK_KERNEL_DEBUG_WITH_KGDB),y)
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 kgdbwait kgdboc=ttyS0,115200"#' \
${BUILD_DIR}/.kernelconfig.board
diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug
index 613609153..814b6d6a6 100644
--- a/target/linux/config/Config.in.debug
+++ b/target/linux/config/Config.in.debug
@@ -24,6 +24,13 @@ config ADK_KERNEL_FRAME_POINTER
boolean
default n
+config ADK_QUIET_KERNEL
+ prompt "Make bootup quiet without messages from the kernel"
+ bool
+ default n
+ help
+ Make bootup quiet without messages from the kernel.
+
config ADK_KERNEL_MAGIC_SYSRQ
prompt "Magic BREAK sequence"
bool