Make File error

Robert Clove cloverobert at gmail.com
Wed Dec 4 03:43:28 EST 2013


Add a tab after obj-m (tab) :=abc.o and after make too


On Wed, Dec 4, 2013 at 2:04 PM, Anil Joshi <aj27744 at gmail.com> wrote:

> Hi All,
>
> I have an make file like this
>
> obj-m := abc.o
>
> all:
>         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
>
> clean:
>         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
>
> when i do the make i am getting this error
>
>
>
> *make: Nothing to be done for `all'.*
>
>
>
>
>
> *I am using centos 6.2uname -aLinux hwcentos2 2.6.32-220.el6.x86_64 #1 SMP
> Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux *
> Whats the error?
>
> Regards
> Anil
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131204/5c5e2083/attachment.html 


More information about the Kernelnewbies mailing list