Okay, thats a bit extreme, m-a seems to be able to build a module with just the headers.
so all I want to do is rebuild qcserial, patched it to add new id. don't need to produce a deb. what i tried was installed the linux-source-2.6.34-1 deb copied .config from the headers directory did make oldconfig make M=<path to module> copied the qcserial.ko to <lib/mod>/updates did a depmod -a then modprobe -v qcserial but it gave me errors wouldn't load.... Alex On Wed, Jun 23, 2010 at 5:47 PM, Patryk Cisek <[email protected]> wrote: > Alex, > > You can't rebuild single module. If you wanna do it the Debian way, you > have to rebuild whole kernel (install kernel-package and see make-kpkg > manual for details). > > On Wed, Jun 23, 2010 at 02:41:45PM +1000, Alexander Samad wrote: >> I need to make a quick change to a kernel module, I would like to just >> get the source and make the change and build. >> >> How can I build ??? I did a google, but couldn't find the debian way >> of building with linux-headers.. >> >> >> Alex >> >> >> -- >> To UNSUBSCRIBE, email to [email protected] >> with a subject of "unsubscribe". Trouble? Contact [email protected] >> Archive: >> http://lists.debian.org/[email protected] >> > > -- > atryk Cisek > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > Archive: http://lists.debian.org/[email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

