Re: Doubt with the Makefile for Module programming

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

 



On Sun, 27 Mar 2005 18:05:16 +0200, Erik Mouw <J.A.K.Mouw@xxxxxxxxxxxxxx> wrote:
> On Sun, Mar 27, 2005 at 12:59:31PM +0530, K S Sandeep wrote:
> > 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.
> 
> It tells the kernel build system (kbuild) that it should do things in
> the directory pointed by the variable M.

oh ok... but why the modules keyword... is it the directory in the
kernel source where the Kbuild should do its work or is it to identify
that this peice of code will act as a module


> 
> Erik
> 
> --
> Erik Mouw
> J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx
> 
> 
>

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