Makefile problem

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

 



Hi All,
 
I am facing a problem while trying to build my modules using make.
 
Please find below the Makefile that i am using:
 
obj-m:=hello.o
 
all:
make -C /usr/src/linux-2.6.14.3 M='pwd' modules
 
clean:
make -C /usr/src/linux-2.6.14.3 M='pwd' clean
 
and when i run make from the prompt this is the error that i am getting:
make: Nothing to be done for `all'.
 
Can anyone help me out with this. Also if theres some other way to build modules with out the makefile then let me know.
 
Thanks in advance,
 
Madhan.

[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