From dfcaa3ea83ab15bc80c18f7cc0dcec2e04dd2dcc Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 9 Apr 2006 16:20:19 -0300 Subject: Removed uneeded stuff from pwc Makefile From: Mauro Carvalho Chehab Also, allow pwc compilation in-tree. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/pwc/Makefile | 17 ----------------- linux/drivers/media/video/pwc/pwc.h | 1 + 2 files changed, 1 insertion(+), 17 deletions(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/video/pwc/Makefile b/linux/drivers/media/video/pwc/Makefile index 8326684f4..33d60126c 100644 --- a/linux/drivers/media/video/pwc/Makefile +++ b/linux/drivers/media/video/pwc/Makefile @@ -1,20 +1,3 @@ -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 - diff --git a/linux/drivers/media/video/pwc/pwc.h b/linux/drivers/media/video/pwc/pwc.h index 1b0ee0ced..74d003695 100644 --- a/linux/drivers/media/video/pwc/pwc.h +++ b/linux/drivers/media/video/pwc/pwc.h @@ -29,6 +29,7 @@ #include #include #include +#include "compat.h" #include #include #include -- cgit v1.2.3