disable DEBUG_INFO

This commit is contained in:
Pratham Patel 2023-10-08 20:29:10 +05:30
parent 4d325265f5
commit d717c38552
No known key found for this signature in database

View 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.