[MLUG] Brain dead...
Stephane Bakhos
nuitari-mlug at nuitari.net
Tue Oct 18 23:26:49 EDT 2011
Or use the driver from the kernel source and compile it with the kernel?
On Tue, 18 Oct 2011, spam spammer wrote:
> Date: Tue, 18 Oct 2011 23:21:32 -0400
> From: spam spammer <nospamormorespam at gmail.com>
> Reply-To: Montreal Linux Users Group <mlug at listserv.mlug.ca>
> To: Montreal Linux Users Group <mlug at listserv.mlug.ca>
> Subject: Re: [MLUG] Brain dead...
>
> Maybe if you read the makefile file thing?
>
> OVCAM_KVER := $(shell uname -r)
> OVCAM_MAJMIN := $(shell echo $(OVCAM_KVER) | cut -d . -f 1-2)
>
> ifeq ($(OVCAM_MAJMIN),2.6)
>
> ifneq ($(KERNELRELEASE),)
> #
> # Make rules for use from within 2.6 kbuild system
> #
> obj-m += ov51x-jpeg.o
>
> ov51x-jpeg-objs := ov51x-jpeg-core.o ov511-decomp.o ov518-decomp.o
> ov519-decomp.o
>
> else # We were called from command line
>
> KDIR := /lib/modules/$(shell uname -r)/build
> PWD := $(shell pwd)
> all:
> $(MAKE) -C $(KDIR) M=$(PWD) modules
>
> install: all
> $(MAKE) -C $(KDIR) M=$(PWD) modules_install
> depmod -a
>
> clean:
> rm -rf .*.cmd *.mod.c *.ko *.o .tmp_versions Module.symvers *~ core *.i
> *.cmd .ov51x-jpeg-core.o.d
> endif
>
> endif
>
More information about the mlug
mailing list