Template:FAQ/Questions/any way to strip

Is there any way to strip the kernel?
Yes, both the kernel and the rest of the root_fs can be pruned to eliminate anything you don't need. Fetch the buildroot environment from SVN and edit the top-level Makefile to eliminate any TARGETs that you don't need (eg the audio stuff, boa, links, dropbear). That will free up a bunch of space. Then build everything by running &quot;make&quot;.

After everything is built, cd into build_arm/linux-2.6.10gum and run &quot;make ARCH=arm menuconfig&quot; without the quotes, and turn on/off anything you want/don't need. The kernel is actually built to be pretty stripped down but does include support for all the various hardware bits we have as options. So if you don't need compact flash, for example, you can turn that off to save space.