Building modules within Linux Kernel
at Saturday, May 31, 2008
Sometimes, it requires us to build only a module within the Kernel. In that case, we wish to build only that module instead of the whole Kernel sources. The Linux Kernel build system allows us to build a specific directory. Pass the directory path to make. To build the network drivers, run
make drivers/net
But to have module objects to be built, run
make M=drivers/net




