]> git.baikalelectronics.ru Git - kernel.git/commit
configs/debug: set CONFIG_DEBUG_INFO=y properly
authorQian Cai <quic_qiancai@quicinc.com>
Sat, 5 Mar 2022 04:29:10 +0000 (20:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Mar 2022 19:08:33 +0000 (11:08 -0800)
commit5fb10dc751ca8d16b0b1ff9b6f336ffe69bef41e
tree1476f0f722f4dd00723940c92ce18ce69b553a2a
parent75108901318d9b3652a63657f34594dbc629078c
configs/debug: set CONFIG_DEBUG_INFO=y properly

CONFIG_DEBUG_INFO can't be set by user directly, so set
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y instead.

Otherwise, we end up with no debuginfo in vmlinux which is a big no-no
for kernel debugging.

Link: https://lkml.kernel.org/r/20220301202920.18488-1-quic_qiancai@quicinc.com
Signed-off-by: Qian Cai <quic_qiancai@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/configs/debug.config