V4l2 controls now have a max range of 255.
[microdia.git] / Makefile
blob45a050634e714e05774fe702a9e8851bfc256738
2 ifneq ($(KERNELRELEASE),)
4 include $(src)/.config
6 sn9c20x-objs := sn9c20x-usb.o sn9c20x-v4l2.o sn9c20x-sysfs.o
7 sn9c20x-objs += sn9c20x-dev.o sn9c20x-queue.o
8 sn9c20x-objs += sn9c20x-bridge.o omnivision.o micron.o hv7131r.o
10 ifeq ($(CONFIG_SN9C20X_DEBUGFS),y)
11 sn9c20x-objs += sn9c20x-debugfs.o
12 EXTRA_CFLAGS = -DCONFIG_SN9C20X_DEBUGFS
13 endif
15 obj-$(CONFIG_SN9C20X) += sn9c20x.o
17 else
19 KVER=$(shell uname -r)
20 KSRC=/lib/modules/$(KVER)/build
22 all: driver ctags
24 doc:
25 @echo "Generating document with Doxygen..."
26 @doxygen Doxyfile
28 driver:
29 $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
31 ctags:
32 @ctags -R
34 clean:
35 $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) clean
36 @rm -f Module.symvers Module.markers modules.order tags
38 cleandoc:
39 @echo "Removing documentation generated by Doxygen..."
40 @rm -Rf ./doc
42 insmod:
43 @/sbin/insmod sn9c20x.ko
45 rmmod:
46 @/sbin/rmmod sn9c20x
48 endif