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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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???



人 山 人 海 盛 景,尽 在 梦 幻 西 游
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux