Re: [RFC] External kernel modules

From: Sam Ravnborg
Date: Mon Feb 02 2004 - 01:22:28 EST


On Mon, Feb 02, 2004 at 07:01:21AM +0100, Andreas Gruenbacher wrote:
> I propose the attached patch: It adds symbol version dump/load
> functionality to modpost: When compiling the kernel, the module versions
> are dumped to a file. When compiling external modules, the dumped
> symbols are first loaded. Also, to allow a read-only kernel source tree
> and not interfere with the kernel sources, the .tmp_versions/ directory
> is placed in the external module's directory.
>
> Furthermore, the patch adds clean/distclean/mrproper make targets with
> reasonable semantics for external modules, and also adds a modules_add
> target that installs the external modules into
> /lib/modules/$(KERNELRELEASE). (The modules_install target could be
> used, but it has different semantics, so I have used a different name
> instead.)

Thanks, I will take a closer look during the week.
Did you consider using the make O=dir support, so .tmp_versions were
created in the output directory?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/