Building modules within Linux Kernel

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

Stumble
Delicious
Technorati
Twitter
Facebook

Bookmark and Share
Your Ad Here

0 comments

Post a Comment