Hi, >You can try, >make M=<module path> clean > >for example in case of USB the command to use will be > >make M=drivers/usb Will this work for only code that is built as loadable kernel modules, or also the code that builds as part of the kernel image as well? Thanks, Rajat ________________________________ From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Vikash Kumar Sent: Friday, October 23, 2009 12:17 PM To: loody Cc: Kernel Newbies Subject: Re: how to clean specific module instead of clean them all On Fri, Oct 23, 2009 at 12:01 PM, loody <miloody@xxxxxxxxx> wrote: Dear all: I always use make clean to clean all the module I build and that will clean the modules I need. Is there any command which can let me only clear the specific module? like "make clean usb", which only clean usb modules? You can try, make M=<module path> clean for example in case of USB the command to use will be make M=drivers/usb appreciate your help, miloody -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ Regards, Vikash http://vikashkumar.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ