re-using .config to compile kernel
Felipe Alfaro Solana
lkml at mac.com
Sun Feb 6 17:10:22 UTC 2005
On 6 Feb 2005, at 15:58, THUFIR HAWAT wrote:
> not that long ago I compiled my first kernel and saved the .config
> file. after a clean install of FC3 i then went to /usr/src/ and
> unpacked the 2.6.10 kernel and copied the .config into the 2.6.10
> directory and tried "make bzimage" but got back "make: *** No rule to
> make target `bzimage'. Stop." as an error message. then i did "make
> xconfig" and then moved the original .config file (hope this makes
> some sense) so it overwrote the newer version (to save time). the
> script of some of this, with "cat .config", is at
> <http://thufir.lecktronix.net/kernel/>.
>
> googling showed some indications that maybe "make boot" would work,
> but it wasn't clear to me. I don't see why this isn't working...?
cd /usr/src
tar jxvf /path/to/linux-whatever.tar.bz2
cd linux-whatever
make mrproper
cp -f /path/to/your/.config .config
make oldconfig
make bzImage
make modules
make install
More information about the fedora-list
mailing list