armbian-kernel: was too hungry in disabling kernel debug, let DEBUG_MISC & SLUB_DEBUG alone

This commit is contained in:
Ricardo Pardini
2023-06-26 20:17:11 +02:00
committed by Igor
parent 0359e2241b
commit 8e4ca7d36a

View File

@@ -29,11 +29,9 @@ function armbian_kernel_config__disable_module_compression() {
# DONE: Disable: debug option
kernel_config_set_n DEBUG_INFO_DWARF5 # Armbian doesn't know how to package a debug kernel.
kernel_config_set_n DEBUG_KERNEL # ditto
kernel_config_set_n DEBUG_MISC # ditto
kernel_config_set_n DEBUG_INFO # ditto
kernel_config_set_n DEBUG_INFO_BTF # ditto
kernel_config_set_n GDB_SCRIPTS # ditto
kernel_config_set_n SLUB_DEBUG # ditto
# @TODO: Enable the options for the extrawifi/drivers; so we don't need to worry about them when updating configs
fi