Hello everyone, It is a minor issue but nevertheless one worth solving, in my opinion at least. The thing is, at present depmod in "make install" is called without passing the value of KERNEL_VERSION to it, meaning that although it's possible to build and install the module for a different kernel than the one running, depmod is always called for the runningone and therefore has to be called manually afterwards, with the version number of the new kernel, to update the latter's dependency tree. The attached patch fixes the problem.
Best regards, -- MS
--- Makefile 2008-02-14 11:52:59.000000000 +0100 +++ Makefile.depmod 2008-02-14 11:55:53.000000000 +0100 @@ -17,7 +17,7 @@ install: @echo "Installing USB Video Class driver..." @(cd $(KERNEL_DIR) && make -C $(KERNEL_DIR) SUBDIRS=$(PWD) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) modules_install) - depmod -ae + depmod -ae $(KERNEL_VERSION) clean: -rm -f *.o *.ko .*.cmd .*.flags *.mod.c Module.symvers version.h
_______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
