[maemo-developers] modification for the makefile
From: Vinod Hegde vinod.hegde.c at gmail.comDate: Wed Feb 27 09:44:54 EET 2008
- Previous message: modification for the makefile
- Next message: modification for the makefile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <jason at rampaginggeek.com> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080227/fedf1856/attachment.htm
- Previous message: modification for the makefile
- Next message: modification for the makefile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]