summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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