From 5f37b8acd39d9e4b862e057b72b76d62c154efec Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 4 Oct 2023 13:58:13 +0200 Subject: [PATCH] board/aarch64: Build kernel and modules with debug info This costs nothing on target, and it means that we always have debug symbols ready when we need them, without having to do a complete rebuild. --- board/aarch64/linux_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/aarch64/linux_defconfig b/board/aarch64/linux_defconfig index 46177fb1..f25569e8 100644 --- a/board/aarch64/linux_defconfig +++ b/board/aarch64/linux_defconfig @@ -533,6 +533,7 @@ CONFIG_IRQ_POLL=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_KERNEL=y CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_DEBUG_FS=y CONFIG_DETECT_HUNG_TASK=y # CONFIG_SCHED_DEBUG is not set