Skip to contentSkip to conversation

regd kernel compilation

DISCUSSION Step 1 B 2 participants 2 messages Nov 6, 2001 – Nov 7, 2001

lore
Share & tools
lore

Step 1 B

author
#0 lore raw

Hi
During the processing of compiling the kernel and getting it running, I
observed that my kernel not only contains software for my current hardware configuration, but also for other hardware as well.(both in the kernel and as modules). and during bootup, the kernel identifies the hardware and either uses the concened part in the kernel, or loads the concerned module. Cant this be done during compilation(ie., kernel building) itself so that I get a smaller kernel and a smaller set of modules on my disk ? Or is just that the current kernel compilation framework does not support this ?

Note that I do not know what hardware I have, so I want the
compilation scripts to identify the hardware and make the correct and minimal config.

I am not on this mailing list, so please
cc me any responses.

thanks

#1 lore raw
Quoted 2 lines · On Tue, 6 Nov 2001 12:17:32 -0500, Step 1 B <[email protected]> wrote:

Note that I do not know what hardware I have, so I want the
compilation scripts to identify the hardware and make the correct and minimal config.

Planned for kernel 2.5. Changes to both CML and kbuild are required to support hardware probing and auto configuration. Mostly done already,
http://sourceforge.net/projects/kbuild/
http://people.debian.org/~cate/files/kautoconfigure/autoconfigure/