Skip to contentSkip to conversation

regd kernel compilation

DISCUSSION Step 1 B 1 participant 1 message Nov 6, 2001 1 message not in the archive

lore
Share & tools
lore

Step 1 B

author
#1 lore raw
In reply to a message not in the archive

The number of hardware ettings is just too many,and so I fear I may go somewhere wrong. so I want it the automatic way only.

1. Is this approach been discussed earlier too ? How easy/tough is it to do it ? how good/bad is it ?

2. How is hardware detected ? Which part of the kernel source should I look at ?

Again, please cc me the responses.

Quoted 40 lines · Tyler BIRD

Do you mean hardware detection during kernel compilation?
the /proc filesystem lists devices that are currently present on your system int /proc/devices I think. But for the most part I just know what kind of hardware I have and configure the kernel appropriately. In the config scripts you can leave off any modules that aren't needed. Compile them as a module or compile them into the kernel image.

do a make menuconfig, or if you have X make xconfig and enable/disable all of your hardware.

Tyler

Quoted 1 line
Quoted 1 line
Quoted 1 line

Step 1 B <[email protected]> 11/06/01 10:17AM >>>

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/