[lfs-support] Getting a working kernel

Thomas de Roo thomas at de-roo.org
Wed Mar 5 02:12:22 PST 2014


Hello,

Getting a working kernel the easy way, I use those steps:

make mrproper &&
#cp /boot/config-VERSION .config &&
#cat /proc/config.gz | gunzip > .config
make oldconfig &&
make localyesconfig &&
make &&
make modules_install &&
make firmware_install

(Step 2 or 3 depend on the host.)

This way, I'm sure to get all the required drivers compiled in, without
needing to go through all the options in a "make menuconfig". Maybe
something like this could be suggested in the book?

Of course it's entertaining and educational to use "make menuconfig", but
sometimes I just want the kernel to work ;)

Regards,
Thomas




More information about the lfs-support mailing list