LeRoy Cressy on Thu, 27 Feb 2003 11:14:05 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] how kernel compiling works


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aparently you used make config which is the original config tool. If you are running X you can use make xconfig and if you are using a console you can use make menuconfig

Both of these options require certain libraries to work like lib ncurses-dev for menuconfig. For 2.4.x kernels tk is needed for xconfig which is really very nice. For 2.5.x kernels x config has become wierd and not as nice as the tk interface.



Wayne Dawson wrote:
Jesus F. Christ! There *has* to be a better way!!! I just sat here for a GD hour answering all those f***ing prompts to recompile the kernel.

I know that recompiling the kernel is no small matter. But holy shit, when you make bzImage you ought to be able to do all the config of what to include in the kernel (and how) by some mass table of info, instead of choosing every single thing at a GD prompt!

Ok, my earlier idea of recompiling "as is" clearly doesn't fit with the way the Linux kernel is set up to compile (at least not by the procedure at http://www.europe.redhat.com/documentation/HOWTO/Kernel-HOWTO-2.php3). Every time you recompile, you have to pick every f***ing section of reconfigurable code at a prompt - that is, for every section of reconfigurable code, you have to pick y, n, or m. That's not 100% accurate, since some sections only allow two of the three options. I assume y means "Yes, compile this into the kernel", n means "No, don't support this", and m means "allow this to be loaded as a Module".

Somebody please correct me if I'm wrong.

And somebody *please* tell me if there's a better way available to pick what gets compiled in and what doesn't!

Thanks,
Wayne

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug




- -- Rev. LeRoy D. Cressy mailto:leroy@lrcressy.com /\_/\
http://lrcressy.com ( o.o )
Phone: 215-535-4037 > ^ <


gpg fingerprint:  62DE 6CAB CEE1 B1B3 359A  81D8 3FEF E6DA 8501 AFEA

Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me. (John 14:6)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE+XjjMP+/m2oUBr+oRAsw8AKCF0JheegnqTNyqLh2OFuH4tN/5CwCfSeZa
ylKz9JnPF21aEPTSkt2/zeo=
=zFN6
-----END PGP SIGNATURE-----

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug