enabling scaling for 6242 based cams
[microdia.git] / Makefile
blob82e26760d6d3d6d1aa0d334a9a6658239b8ddf47
2 ifneq ($(KERNELRELEASE),)
4 include $(src)/.config
6 microdia-objs := microdia-usb.o microdia-v4l.o microdia-sysfs.o
7 microdia-objs += microdia-dev.o microdia-decoder.o microdia-queue.o
8 microdia-objs += sn9c20x.o mt9vx11.o ov7670.o ov965x.o ov7660.o
10 ifeq ($(CONFIG_MICRODIA_DEBUGFS),y)
11 microdia-objs += microdia-debugfs.o
12 EXTRA_CFLAGS = -DCONFIG_MICRODIA_DEBUGFS
13 endif
15 obj-$(CONFIG_MICRODIA) += microdia.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 microdia.ko
45 rmmod:
46 @/sbin/rmmod microdia
48 endif