Re: how do I compile a single file in kernel?

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

 



On Thu, Mar 03, 2005 at 09:57:54AM +0530, Srinivas G. wrote:
> If you are using 2.6.x kernel then you have to use the following make
> file to compile a single file. If you are using 2.4.x then it varies. 
[...]

> default:
> 	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

It's slightly different since linux-2.6.7:

default:
	$(MAKE) -C $(KDIR) M=$(PWD) modules


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