Re: [android-porting] How to add my modules into android kernel from outside of kernel src tree?

2010-02-18 Thread pavan savoy
make modules_prepare steps hasn't been done... and hence those errors... But I still don't understand how you would be able to build modules from android.mk file. On Thu, Feb 18, 2010 at 4:00 PM, victory rocks wrote: > Sorry for my previous wrong and incompleter posts. >> >> The following wi

Re: [android-porting] How to add my modules into android kernel from outside of kernel src tree?

2010-02-18 Thread victory rocks
Sorry for my previous wrong and incompleter posts. > The following will solve the problem: > obj-m += Hello.o > all: > @ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules > install: > @$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install > clean: rm -f *.o *.ko *.mod.c *.mod.c *.mod.o .*.cmd

Re: [android-porting] How to add my modules into android kernel from outside of kernel src tree?

2010-02-18 Thread victory rocks
The following will solve the problem: obj-m += Hello.o all: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules install: On 9 February 2010 16:17, chungae9ri wrote: > Hi all > I put my module src files of helloworld into vendor/xxx/modules and I > want to add my driver modules into android but I

[android-porting] How to add my modules into android kernel from outside of kernel src tree?

2010-02-08 Thread chungae9ri
Hi all I put my module src files of helloworld into vendor/xxx/modules and I want to add my driver modules into android but I can't build it. this is my Makefile, it's simple obj-m += Hello.o modules: $(MAKE) -C $(KERNELDIR) M=$(PWD) ARCH=$(ARCH) CROSS_COMPILE=$ (CROSS_COMPILE) modules when

[android-porting] How to add my modules into android kernel from outside of kernel src tree?

2010-02-08 Thread chungae9ri
Hi all I put my module src files of helloworld into vendor/xxx/modules and I want to add my driver modules into android but I can't build it. this is my Makefile, it's simple obj-m += Hello.o modules: $(MAKE) -C $(KERNELDIR) M=$(PWD) ARCH=$(ARCH) CROSS_COMPILE=$ (CROSS_COMPILE) modules when