Changeset 14122


Ignore:
Timestamp:
2009-01-20T22:09:04+01:00 (8 years ago)
Author:
nbd
Message:

add a menuconfig option for enabling KALLSYMS for the kernel

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.in

    r14018 r14122  
    118118        default n 
    119119 
     120comment "Kernel build options" 
     121 
     122config KERNEL_KALLSYMS 
     123        bool "Compile the kernel with symbol table information" 
     124        default n 
     125        help 
     126                This will give you more information in stack traces from kernel oopses 
     127 
    120128endmenu 
    121129 
  • trunk/include/kernel-defaults.mk

    r13357 r14122  
    8787define Kernel/Configure/Default 
    8888        $(LINUX_CONFCMD) > $(LINUX_DIR)/.config.target 
     89        echo "$(if $(CONFIG_KERNEL_KALLSYMS),CONFIG_KALLSYMS=y,# CONFIG_KALLSYMS is not set)" >> $(LINUX_DIR)/.config.target 
     90        echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target 
     91        echo "# CONFIG_KPROBES is not set" >> $(LINUX_DIR)/.config.target 
    8992        $(SCRIPT_DIR)/metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config > $(LINUX_DIR)/.config.override 
    9093        $(SCRIPT_DIR)/kconfig.pl 'm+' $(LINUX_DIR)/.config.target $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config 
Note: See TracChangeset for help on using the changeset viewer.