Am Samstag 20 Juni 2009 10:54:49 schrieb Vasily Khoruzhick:
> On Saturday 20 June 2009 06:33:49 Brian Johnson wrote:
> > Well making a new branch on our current repo would be a bit odd since
> > so when reworking this as a gspca module so much changes in the
> > general structure tha from gits point of view i basically deleted all
> > the files and replaced them with 3 new ones. I am postin the current
> > patch whcih i've verified works properly with a 624f camera for people
> > look at before submitting to linux-media. This patch was written
> > against the latest kernel checkout but should be able to be applied
> > cleanly against the latest version of v4l found at
> > http://linuxtv.org/hg/v4l-dvb/ just hit enter and choose to skip
> > patching the MAINTAINERS file when it complains. Using the v4l
> > checkout is a lot quicker as well as you don't need to bother
> > upgrading your kernel just to try the driver.
>
> Works for me with my 624f cam, but it's missing gain control.
> Anyway, thanks for your work ;)
>
> Regards
> Vasily

I find myself unable to compile the module by itself.

Attached is the modified Makefile. Maybe someone can point out what I'm doing 
wrong here.

GWater
CONFIG_USB_GSPCA_SN9C20X=M

obj-$(CONFIG_USB_GSPCA_SN9C20X) += gspca_sn9c20x.o

gspca_sn9c20x-objs := sn9c20x.o

ifeq ($(CONFIG_USB_GSPCA_SN9C20X_DEBUGFS),y)
gspca_sn9c20x-objs += sn9c20x_debugfs.o
EXTRA_CFLAGS += -DCONFIG_USB_GSPCA_SN9C20X_DEBUGFS
endif

ifeq ($(CONFIG_USB_GSPCA_SN9C20X_EVDEV),y)
EXTRA_CFLAGS += -DCONFIG_USB_SN9C20X_EVDEV
endif

EXTRA_CFLAGS += -Idrivers/media/video/gspca

KVER=$(shell uname -r)
KSRC=/lib/modules/$(KVER)/build


all:
	$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules $(EXTRA_CFLAGS)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to