Re: compiling 2.6 kernel module

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

 



On Thu, 2005-05-12 at 08:41 +0530, Hitesh M wrote:
> On Wed, 2005-05-11 at 11:12 -0700, suren wrote:
> 
> > How do we clean the object files in this example?
> 
> You can add this small snippet to clean the object and other related
> files which are not required when you want a proper clean.
> 
> clean:
> 	rm -rf *.ko *.mod.* *.o
> 
or else simply give "clean" target to the make command
(as you gave "modules" for building them)

make -C /kernel/source/path M=$PWD clean

simple!

HTH,
-mandeep

> Regards
> 
> Hitesh
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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