13 lines
501 B
Bash
13 lines
501 B
Bash
#!/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.
|