From a1f6fae37977577792379e6b8441538783f5b3ca Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 10 Nov 2010 13:47:28 +0100 Subject: add option for a quiet boot --- target/Makefile | 4 ++++ target/linux/config/Config.in.debug | 7 +++++++ 2 files changed, 11 insertions(+) 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 -- cgit v1.2.3