Friday, June 24, 2011

Make only specific kernel modules

1. You need to first create the .config file by running any of the various "make config" commands
$make menuconfig

2. Then run the "make" command to build the basic kernel tree
$make

3. Now to build the specific kernel module you can do

$make modules SUBDIRS=drivers/staging

No comments:

Post a Comment