summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 16:16:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 16:16:07 -0300
commit468e72158ba85f7339895fbd7dc5f6e525357326 (patch)
tree9dd579e6ba66a4b402daa2cd0f533c0b22403354 /linux/drivers/media/video/pwc/Makefile
parent630e2390dde5eb76e89b9c4393f6a3bb96560d7b (diff)
downloadmediapointer-dvb-s2-468e72158ba85f7339895fbd7dc5f6e525357326.tar.gz
mediapointer-dvb-s2-468e72158ba85f7339895fbd7dc5f6e525357326.tar.bz2
Added support for pwc at the tree
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pwc/Makefile')
-rw-r--r--linux/drivers/media/video/pwc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pwc/Makefile b/linux/drivers/media/video/pwc/Makefile
new file mode 100644
index 000000000..8326684f4
--- /dev/null
+++ b/linux/drivers/media/video/pwc/Makefile
@@ -0,0 +1,20 @@
+ifneq ($(KERNELRELEASE),)
+
+pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-uncompress.o pwc-timon.o pwc-kiara.o
+
+obj-$(CONFIG_USB_PWC) += pwc.o
+
+else
+
+KDIR := /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+
+default:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+
+endif
+
+clean:
+ rm -f *.[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c
+ rm -rf .tmp_versions
+