[wellylug] Kernel Compile
Ewen McNeill
wellylug at ewen.mcneill.gen.nz
Wed Sep 3 10:34:30 NZST 2003
In message <200309022226.KAA26546 at freddy.freeparking.co.nz>, "Leslie Boardman" writes:
>Am I correct in thinking that If I copy the /boot/config..bf24
>to /usr/src/linux/.config, run make oldconfig and then run make-
>kpkg ... I will end up with a custom kernel that is pretty much the
>same as the debian 2.4bf kernel?
Yup, you should end up with something pretty close.
And then you'll have compiled your own kernel and be a "real" linux user :-)
Compiling the alsa modules along with the kernel is certainly one of the
easier ways to do it with make-kpkg, but I'm pretty sure that you can do
it seperately as well by going to /usr/src/modules/alsa-driver and
running "make -f debian/rules binary". You may need to set KSRC to
point at your kernel source if it's not in /usr/src/linux. (And the
kernel source would need to be configured to be the same as your running
kernel. You can probably also install the kernel-headers package and
point it at that.)
/usr/share/doc/kernel-package/README.gz has a reasonable (brief) summary
of make-kpkg usage. But there's not much in the way of "what to do if
it goes wrong" documentation alas -- it's generally a case of try to
figure out what went wrong, "make-kpkg clean" and try again.
Ewen
More information about the wellylug
mailing list