Hi Daniel,

On Thursday 01 May 2008, Daniel Herzog wrote:
> Hi Everybody,
>
> First of all, I'm new to Makefiles, so the following might be all wrong :-)
> The makefile contains
>       "depmod -ae $(KERNEL_VERSION)"
> My "man depmod" says:
>       -a --all                Probe all modules.
>                               This option is enabled by default,
>                               if no file names are given in command-line.
>       -e --errsyms    When combined with the -F option, [...]
>
> So one could leave out the -e option, and if all depmod versions behave the
> same here also the -a option. Right?

It seems you're right, yes.

> Is it needed to manually run depmod anyway if using a recent kernels
> modules_install?

Seems not, you're right there as well.

> Same thing above where it says
>       cd $(KERNEL_DIR) && MAKE -C $(KERNEL_DIR)
> Why go to KERNEL_DIR twice?

Good question. I seem to remember there was a reason, but I can't find it now. 
Maybe something to do with older kernels ?

> The SUBDIRS variable is used. In the Makefile of kernel version 2.6.25 it
> says that it would be old syntax - i don't know how old and wether it is
> still needed to support previous kernel versions, though.

Seems it's been deprecated since at least 2.6.12-rc2.

Thanks for the comments. I updated the Makefile, tested it against 2.6.15, and 
found no issue. I've committed the changes.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to