Hi,

its a personal project.

i have maemo 4.0 sdk and apophys scratchbox and want to know how can i
insert a module in the scratchbox environment. i want to test insertion of
helloworld module into my n810.  i wrote the "hello world" module and
inserted on Linux machine. it gets inserted and prints the message. But the
same makefile does not work in the scratchbox and i get the following error

 [sbox-CHINOOK_ARMEL: ~] > make
make -C /lib/modules/2.6.22-14-generic/build M=/home/vinod modules
make: *** /lib/modules/2.6.22-14-generic/build: No such file or directory.
Stop.
make: *** [default] Error 2

in the Makefile i have the following lines

KDIR  := /lib/modules/$(shell uname -r)/build

PWD   := $(shell pwd)

default:
        $(MAKE) -C $(KDIR) M=$(PWD) modules.

i tried to find the build directory inside the scratchbox but no build
directory seems to match the build directory that we see in Linux. so how
can the KDIR argument be modified to get the module.

Thanks....


On Wed, Feb 27, 2008 at 12:59 AM, Jason Edgecombe <[EMAIL PROTECTED]>
wrote:

> Vinod Hegde wrote:
> > Hi Everyone,
> >
> > Could you please tell me about the modifications required in the
> makefile..
> >
> > I tried to find the build directory but does not seem to contain all the
> > entries !!. So what should be the KDIR argument in the makefile.
> >
> > Thanks ...
> >
> >
> Could you please be more specific?
>
> Is this for your personal project or some external project?   Which
> software package are you trying to compile?
>
> Jason
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to