On Sat, May 22, 2010 at 1:42 PM, loody <miloody@xxxxxxxxx> wrote:
hey i'm not sure what i feel it isn't clearing .ko file inside your build directory.
try using this, it might help if your Makefile is correct.
For Building the .ko file:
make SUBDIRS=drivers/usb modules
For cleaning:
make SUBDIRS=drivers/usb clean
hi Mulyadi :
2010/5/22 Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>:
> On Sat, May 22, 2010 at 10:39, loody <miloody@xxxxxxxxx> wrote:I find what I want
>> Dear all:
>> I have some questions as below:
>> 1. can we build/clean a specific module instead of building/clean the
>> whole module?
>
> meaning, a specific .ko file? AFAIK, you do that by directly
> mentioning the c file as argument to make, eg:
> make kernel/blah.c
>
>> 2. could we builld the kernel with multi-thread?
>
> something like make -j2 ? where "2" is the number of parallel build
> you wanna do?
"make M=xxx modules' where xxx is the location of driver.
But I have the follow problem:
when I clean it and re-module it, it seems not work
the mesage I attach as below:
root@ubuntu-t60:/media/sdb1/linux.2.6.30.9# make M=drivers/usb clean
CLEAN drivers/usb/.tmp_versions
CLEAN drivers/usb/Module.symvers drivers/usb/modules.order
root@ubuntu-t60:/media/sdb1/checkin/linux.2.6.30.9# make M=drivers/usb modules
Building modules, stage 2.
MODPOST 3 modules
root@ubuntu-t60:/media/sdb1/checkin/linux.2.6.30.9#
do I type the wrong command?
appreciate your help,
miloody
hey i'm not sure what i feel it isn't clearing .ko file inside your build directory.
try using this, it might help if your Makefile is correct.
For Building the .ko file:
make SUBDIRS=drivers/usb modules
For cleaning:
make SUBDIRS=drivers/usb clean
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
Regards:
Vineet Agarwal
Development Engineer, Calsoft
http://in.linkedin.com/in/vineetagrwal