Re: Doubt with the Makefile for Module programming

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

 



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.


Erik

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

Attachment: signature.asc
Description: Digital signature


[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