[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel hacking: building single module



* Bill Moseley <moseley@hank.org> [2003-01-04 19:15]:

[sorry for breaking the thread - I deleted the original message]

>> Is there a quick way to rebuild just the usb.o kernel module and
>> test with that without building a entire new kernel or all a package
>> of all the modules?
>>
>> Can I just use make modules and then copy the module to my kernel
>> lib?
>>
>
>run
>  make modules modules_install
>this will do the job.

Ok, that works, although it does a lot more work than I wished ;).  I
suppose it has to go through the enter build process to build all the
dependencies.  Nice if I could just rebuild the usb modules.

It also seems to *replace* the existing modules tree, because after make
modules_install I couldn't start X because I didn't have the nvidia kernel
module any more (no big deal, just make install the nvidia kernel package
again).

Thanks,



-- 
Bill Moseley moseley@hank.org



Reply to: