Thanks Greg, Perumal and Pavan for your inputs .. finally i got it working
:-)
Thanks,
Rohan.
On Wed, May 26, 2010 at 12:46 PM, Pavan Savoy wrote:
> M=`pwd` should work from your present working directory ..
>
> On Wed, May 26, 2010 at 10:07 PM, rohan raizada
> wrote:
> > Hi,
> >
> > I created
M=`pwd` should work from your present working directory ..
On Wed, May 26, 2010 at 10:07 PM, rohan raizada
wrote:
> Hi,
>
> I created a Makefile as Greg suggested but even then it doesnt seem to work
> and now it seems to be giving me this error.
> The Makefile that I have is as follows:
>
> /***
Hi,
I created a Makefile as Greg suggested but even then it doesnt seem to work
and now it seems to be giving me this error.
The Makefile that I have is as follows:
/**/
myhome=/hom
Hi Rohan,
You can try using the below code in the Makefile:
ifeq ($(KERNELRELEASE),)
KERNELDIR ?= /home/
PWD := $(shell pwd)
.PHONY: build clean
build:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c
else
$(info Building with KER