Re: how to clean specific module instead of clean them all

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

 




Regards,
Vikash Kumar
http://VikashKumar.com/



On Fri, Oct 23, 2009 at 12:59 PM, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:
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?


AFAIK it will work for all modules.. may be others can put more light on that.

 
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




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux