1menu "Kernel hacking" 2 3source "lib/Kconfig.debug" 4 5config CROSSCOMPILE 6 bool "Are you using a crosscompiler" 7 help 8 Say Y here if you are compiling the kernel on a different 9 architecture than the one it is intended to run on. This is just a 10 convenience option which will select the appropriate value for 11 the CROSS_COMPILE make variable which otherwise has to be passed on 12 the command line from mips-linux-, mipsel-linux-, mips64-linux- and 13 mips64el-linux- as appropriate for a particular kernel configuration. 14 You will have to pass the value for CROSS_COMPILE manually if the 15 name prefix for your tools is different. 16 17config CMDLINE 18 string "Default kernel command string" 19 default "" 20 help 21 On some platforms, there is currently no way for the boot loader to 22 pass arguments to the kernel. For these platforms, you can supply 23 some command-line options at build time by entering them here. In 24 other cases you can specify kernel args so that you don't have 25 to set them up in board prom initialization routines. 26 27config DEBUG_STACK_USAGE 28 bool "Enable stack utilization instrumentation" 29 depends on DEBUG_KERNEL 30 help 31 Enables the display of the minimum amount of free stack which each 32 task has ever had available in the sysrq-T and sysrq-P debug output. 33 34 This option will slow down process creation somewhat. 35 36config KGDB 37 bool "Remote GDB kernel debugging" 38 depends on DEBUG_KERNEL 39 select DEBUG_INFO 40 help 41 If you say Y here, it will be possible to remotely debug the MIPS 42 kernel using gdb. This enlarges your kernel image disk size by 43 several megabytes and requires a machine with more than 16 MB, 44 better 32 MB RAM to avoid excessive linking time. This is only 45 useful for kernel hackers. If unsure, say N. 46 47config GDB_CONSOLE 48 bool "Console output to GDB" 49 depends on KGDB 50 help 51 If you are using GDB for remote debugging over a serial port and 52 would like kernel messages to be formatted into GDB $O packets so 53 that GDB prints them as program output, say 'Y'. 54 55config SB1XXX_CORELIS 56 bool "Corelis Debugger" 57 depends on SIBYTE_SB1xxx_SOC 58 select DEBUG_INFO 59 help 60 Select compile flags that produce code that can be processed by the 61 Corelis mksym utility and UDB Emulator. 62 63config RUNTIME_DEBUG 64 bool "Enable run-time debugging" 65 depends on DEBUG_KERNEL 66 help 67 If you say Y here, some debugging macros will do run-time checking. 68 If you say N here, those macros will mostly turn to no-ops. See 69 include/asm-mips/debug.h for debuging macros. 70 If unsure, say N. 71 72config MIPS_UNCACHED 73 bool "Run uncached" 74 depends on DEBUG_KERNEL && !SMP && !SGI_IP27 75 help 76 If you say Y here there kernel will disable all CPU caches. This will 77 reduce the system's performance dramatically but can help finding 78 otherwise hard to track bugs. It can also useful if you're doing 79 hardware debugging with a logic analyzer and need to see all traffic 80 on the bus. 81 82endmenu 83