I haven't compiled Linux kernels in a couple of years, and now that I started doing so again I discovered that modules are installed with debug symbols by default unless
INSTALL_MOD_STRIP=1 is passed to
make modules_install, which makes them so enormous that my initrd images grew to be hundreds of megabytes.
I only found the
INSTALL_MOD_STRIP option after googling around quite a bit, and even then only in forum threads where people ask why their modules are so large.
So I'm wondering, what is the reason this changed in the while I used precompiled kernels? Is there a reason modules are now installed with debug symbols by default (even though binary distributions still strip them off)? It seems rather esoteric to use debug symbols in the kernel, and it obviously has very large drawbacks in terms of installed size.
Basically, should I just consider
INSTALL_MOD_STRIP as a part of the standard kernel compilation formula? Are there any other changes to the build process from around ~2.6.25 that I should be aware of?