summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-15 16:27:02 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-15 16:27:02 +0000
commit2e7a68301991a5ce6b5bfb78330c45361adc5ec8 (patch)
treeef72a5c2dd281fd8501020c0e215f3b9eda73a76
parent5878aefc3325df8bbf84275370427236417146a6 (diff)
Add support for enabling early printk.
Currently only for ARM, because I don't know what EARLY_PRINTK depends on on other architectures. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23071 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Config.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index c750a2533..651cbdef5 100644
--- a/Config.in
+++ b/Config.in
@@ -199,6 +199,25 @@ menu "Global build settings"
help
This will compile your kernel and modules with debug information.
+ config KERNEL_DEBUG_LL
+ bool
+ default n
+ depends on arm
+ help
+ ARM low level debugging
+
+ config KERNEL_EARLY_PRINTK
+ bool "Compile the kernel with early printk"
+ default n
+ depends on arm
+ select KERNEL_DEBUG_KERNEL
+ select KERNEL_DEBUG_LL if arm
+ help
+ Compile the kernel with early printk support.
+ This is only useful for debugging purposes to send messages
+ over the serial console in early boot.
+ Enable this to debug early boot problems.
+
comment "Package build options"
config DEBUG