2 ifneq ($(KERNELRELEASE
),)
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
15 ifeq ($(CONFIG_SN9C20X_EVDEV
),y
)
16 EXTRA_CFLAGS
+= -DCONFIG_SN9C20X_EVDEV
19 obj-
$(CONFIG_SN9C20X
) += sn9c20x.o
23 KVER
=$(shell uname
-r
)
24 KSRC
=/lib
/modules
/$(KVER
)/build
29 @echo
"Generating document with Doxygen..."
33 $(MAKE
) -C
$(KSRC
) SUBDIRS
=$(PWD
) modules
39 $(MAKE
) -C
$(KSRC
) SUBDIRS
=$(PWD
) clean
40 @
rm -f Module.symvers Module.markers modules.order
tags
43 @echo
"Removing documentation generated by Doxygen..."
47 @
/sbin
/insmod sn9c20x.ko