diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2022-02-20 03:09:55 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-05-18 13:32:06 +0300 |
commit | 44bcad24b6f330aae73994e881e25df0fd7a490d (patch) | |
tree | a99e3c2726d57d9d7c93e4e7e3fc0fe89ee884f9 /config | |
parent | 2d2fd2ad80bafbd4b0c12fd466ed90a57abb7f61 (diff) | |
download | openwrt-44bcad24b6f330aae73994e881e25df0fd7a490d.tar.gz openwrt-44bcad24b6f330aae73994e881e25df0fd7a490d.tar.bz2 openwrt-44bcad24b6f330aae73994e881e25df0fd7a490d.zip |
kernel: add DEBUG_INFO_REDUCED config option
Add DEBUG_INFO_REDUCED as a kernel config option and remove it from the
kernel configs. This is in preparation of the upcoming option to enable
BTF typeinfo, which is incompatible with DEBUG_INFO_REDUCED.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-kernel.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index ab827d6a71..e146107148 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -373,6 +373,20 @@ config KERNEL_DEBUG_INFO help This will compile your kernel and modules with debug information. +config KERNEL_DEBUG_INFO_REDUCED + bool "Reduce debugging information" + default y + depends on KERNEL_DEBUG_INFO + help + If you say Y here gcc is instructed to generate less debugging + information for structure types. This means that tools that + need full debugging information (like kgdb or systemtap) won't + be happy. But if you merely need debugging information to + resolve line numbers there is no loss. Advantage is that + build directory object sizes shrink dramatically over a full + DEBUG_INFO build and compile times are reduced too. + Only works with newer gcc versions. + config KERNEL_DEBUG_LL_UART_NONE bool default n |