Browse Source

add option for a quiet boot

Waldemar Brodkorb 13 years ago
parent
commit
a1f6fae379
2 changed files with 11 additions and 0 deletions
  1. 4 0
      target/Makefile
  2. 7 0
      target/linux/config/Config.in.debug

+ 4 - 0
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

+ 7 - 0
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