2 ifneq ($(KERNELRELEASE
),)
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
15 obj-
$(CONFIG_MICRODIA
) += microdia.o
19 KVER
=$(shell uname
-r
)
20 KSRC
=/lib
/modules
/$(KVER
)/build
25 @echo
"Generating document with Doxygen..."
29 $(MAKE
) -C
$(KSRC
) SUBDIRS
=$(PWD
) modules
35 $(MAKE
) -C
$(KSRC
) SUBDIRS
=$(PWD
) clean
36 @
rm -f Module.symvers Module.markers modules.order
tags
39 @echo
"Removing documentation generated by Doxygen..."
43 @
/sbin
/insmod microdia.ko