Saturday, May 22, 2010

Linux groups?

how to compile linux 2.4 kernel?? there is no usb driver for some cams.i want to add a device module letus say spca 5xx.c.can anyone explain how to do it?? i want to know the algorithm or process flow for the spca5xx.c code . urgent need pls help me. sarma

Linux groups?
How you compile the kernel may depend on your distribution. For example, Debian, Red Hat and Gentoo have their own procedures.





The general method is to download and unpack the kernel source code, and work your way through the steps:





# Choose what features to include, e.g. your spca web cam:


make menuconfig # or "make xconfig" to use a GUI





# Start with a fresh set of source


make clean





# (optional) edit the top level Makefile to set the EXTRAVERSION


# so that you can recognize this kernel by running uname.





# Build the kernel


make bzImage





# Build any modules you chose


make modules





# For a generic install, use these steps - but your distro


# probably has its own commands


sudo make modules_install


sudo make install


No comments:

Post a Comment