forked from OpenDingux/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
od: linux_defconfig: Remove debug options
We enable `CONFIG_EMBEDDED`, which selects `CONFIG_EXPERT`. `CONFIG_EXPERT` selects `CONFIG_DEBUG_KERNEL`, which enables several kernel debugging options by default. This commit disables them. I thought of disabling `CONFIG_EMBEDDED` instead because we do not use it for anything but we do need `CONFIG_EXPERT` for `LD_DEAD_CODE_DATA_ELIMINATION` anyway. rg99 comparison (`dmesg | grep Memory`): ``` - Memory: 23616K/32768K available (4150K kernel code, 610K rwdata, 604K rodata, 1216K init, 274K bss, 7104K reserved, 2048K cma-reserved) + Memory: 23664K/32768K available (4126K kernel code, 606K rwdata, 600K rodata, 1248K init, 238K bss, 7056K reserved, 2048K cma-reserved) ``` Signed-off-by: Gleb Mazovetskiy <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters