disable DEBUG_INFO
This commit is contained in:
parent
4d325265f5
commit
d717c38552
12
extra-configs/disable_debug.sh
Normal file
12
extra-configs/disable_debug.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
./scripts/config --file .config --disable DEBUG_INFO
|
||||
# Q: What requires this option to be disabled?
|
||||
# A: For some reason, when building with Clang, CONFIG_DEBUG_INFO gets enabled.
|
||||
# It needs to be disabled because:
|
||||
# 1. These builds are intended for "production systems".
|
||||
# 2. More importantly, failing to do so results in "Restart config..." while
|
||||
# building the kernel.
|
||||
#
|
||||
# Q: Why wasn't this option disabled by `make defconfig`?
|
||||
# A: TODO: Still finding out.
|
Loading…
Reference in New Issue
Block a user