PDA

View Full Version : Makeing a small custom kernel



SteelWo1f
July 13th, 2009, 07:45 PM
Hi. I'm trying to build a custom kernel with a patch to support the latest winbond watchdog. I run

`fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers`

and everything works great except the /lib comes out to be 1.1GB. Compare that to the 100-200MB that the server image creates in lib. Does anybody know how to make my image smaller? Whats the magical incantation to make?

Thanks

SteelWo1f
July 13th, 2009, 09:10 PM
make menuconfig -> "Kernel hacking" -> "Compile the kernel with debug info"

Turn the option off.