Eudyptula Challenge Task 01

Pranay Srivastava pranjas at gmail.com
Tue Apr 29 11:34:11 EDT 2014


On Tue, Apr 29, 2014 at 8:40 PM, me storage <me.storage126 at gmail.com> wrote:
> Hi i every one i am new to linux kernel programming .I am participating in
> Eudyptula Challenge .Recently i submitted my solutions to Task 01 but i
> gives me reply like the below
>
> "Please read the requirements for the Makefile and allow the module to be
> built against any kernel source tree on the filesystem, not just those
> kernels that happened to be installed in /lib/ at some point in time."
>
> And my make file is like this
>
> ifneq ($(KERNELRELEASE),)
>      obj-m += helloworld.o
>  else
>  default

I hope you understand the -C switch
:
>        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
>  clean:
>        make -C /lib/modules/$(shell uname -r)/bulid M=$(PWD) clean
>  end
>

If not then find it out and see what you need to change.

>
> So can any please tell me how to allow the module to be built against any
> kernel source tree on the filesystem?
> or can any one pleae tell me what does it mean?
> Thank you
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
        ---P.K.S



More information about the Kernelnewbies mailing list