On 11-10-19 11:51 AM, spam spammer wrote:
aquarelle@Marvin:~/Downloads/ov51x-jpeg-1.5.9$ make modules
make: *** No rule to make target `modules'. Stop.
It is broken, even the ubuntu package is broken with same error. I don't
know enough about makefiles to troubleshoot it.
FYI, an easier way to install this on ubuntu, if it were not broken is:
sudo m-a a-i ov51x-jpeg-source
m-a is module-assistant a-i is "auto install"
Sorry I can't help more.
Jeremy
PS: here is makefile in case someone else can help
=============================
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
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca