Re: [linux-dvb] How could I compile dvb-usb-cxusb module out of the kernel source.

2007-08-01 Thread lwtbenben
>You run "make menuconfig" in the v4l-dvb/v4l directory and you select the >"Conexant USB2.0 hybrid reference design support" only, and it will >compile. Yeah. This works. But when I add mydriver.c in the directory linux/driver/media/dvb/dvb-usb and exec the same command, some errors occured. T

Re: [linux-dvb] How could I compile dvb-usb-cxusb module out of the kernel source.

2007-08-01 Thread Patrick Boettcher
Hi, On Wed, 1 Aug 2007, lwtbenben wrote: > >?2007-07-31,"Patrick Boettcher" <[EMAIL PROTECTED]> ??: > >Just use hg clone http://linuxtv.org/hg/v4l-dvb > >and you will get the complete /media tree for compilation outside the > >kernel. > Yeah, I tried this and it can compile correctly. > But what

Re: [linux-dvb] How could I compile dvb-usb-cxusb module out of the kernel source.

2007-07-31 Thread Patrick Boettcher
Just use hg clone http://linuxtv.org/hg/v4l-dvb and you will get the complete /media tree for compilation outside the kernel. Patrick. -- Mail: [EMAIL PROTECTED] WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/ On Tue, 31 Jul 2007, lwtbenben wrote: > I want to compile the dvb-usb-cxusb m

[linux-dvb] How could I compile dvb-usb-cxusb module out of the kernel source.

2007-07-31 Thread lwtbenben
I want to compile the dvb-usb-cxusb module outside the kernel tree, my makefile is like this, ifneq ($(KERNELRELEASE), ) obj-m := dvb-usb-cxusb.ko dvb-usb-cxusb-y := .o cxusb.o else KERNELDIR := /lib/modules/2.6.20-16-generic/build all:: $(MAKE) -C $(KERNELDIR) M='pwd' $@ endif