[PLUG] Making just a module under a redhat kernel

Zot O'Connor zot at whiteknighthackers.com
Tue Mar 23 08:47:02 UTC 2004


I have to look this up every 6 weeks it seems so I thought I would post
it.  The issue is how to create just *one* module for a pre-built redhat
kernel (say for wireless, ntfs, alsa, etc).

The pattern follow.  It create the kernel tree, dependcies, paths, and
include files.  You can include "MODULES=ntfs" to make just one module.



cd /usr/src/linux-2.4
edit Makefile, remove "Custom" from EXTRAVERSION
make mrproper
make distclean
cp config
make xconfig ->save
make dep
make modules


-- 





More information about the PLUG mailing list