Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Core statement on directory naming for kernel modules



On Fri, Jul 27, 2012 at 08:00:27AM +0200, Alan Barrett wrote:
> 
>    Changes to config(1) to extend the existing notion of whether or not
>    an option is built-in to the kernel, to three states: built-in, not
>    built-in but loadable as a module, entirely excluded and not even
>    loadable as a module.

Add built-in and marked as 'loaded' in the module list.
This could be acheived by getting the config-generated makefile
to generate the module.o files and then link them into the final kernel.
Apart from some very space restricted kernels this could be the norm.

It would also allow, on some architectures at least [1], a netbsd.o
be generated with 'ld -r' and modules added (with ld -r) later
prior to a final link.

        David

[1] Problematic on CPUs with limited call-immediate address ranges.

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index