Re: Trouble making module

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

 





On Tue, Oct 12, 2010 at 12:43 PM, Wouter Simons <lkml@xxxxxxxxxxxxxxxx> wrote:
On 10/11/2010 05:20 PM, shivanth m p wrote:
> I created a kernel module for the 2.6.33 kernel outside the kernel
> source directory . When i give the make command it says
> Nothing to be done for /root/mydrivers
>
> Here's my makefile
>
>  obj-m +=mydiver.o
> modules :
>              make -C ..kerndev/linux-2.6/  M=$(PWD) modules
Don't you mean ../kerndev instead of ..kerndev ;-)

Wouter
I'm pretty sure its not the typo thing .
Checked it a thousand times .

when does make give nothing to be done for "directory" warning ? This answer will help a lot

[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