[linux-dvb] How could I compile dvb-usb-cxusb module out of the kernel source.
lwtbenben
lwtbenben at 163.com
Tue Jul 31 12:11:59 CEST 2007
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
clean:
rm -f *.o
rm -f *.ko
But there are many faults. How should I write my Makefile???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070731/509bbd5b/attachment.htm
More information about the linux-dvb
mailing list