Doubt with the Makefile for Module programming

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

 



Hello all,

 this may sound as trivial question to all of u.. But i need some
information regarding the make file for Module programming.  why is
the following line included and wahts the purpose of each of the parts
in it.


make -C /usr/src/linux M=`pwd` modules.

 I found out from 'man make'  that -C is for changing directory. But i
didn't get information on why  'M=`pwd` modules' is used. What purpose
does this serve.


Thanks in advance,

sandeep

--
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