Multiple kernel building/installing

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Thu Feb 22 15:52:11 PST 2007


On Thu, Feb 22, 2007 at 11:49:32PM +0100, Gergo Szakal wrote:
> (did not want to pollute the commits list)
> Does the last commit by corecode make it possivle to build/install an SMP and a non-SMP kernel together?

You've been able to *build* multiple kernels:
  make KERNCONF='GENERIC LINT' buildkernel
but you couldn't install the kernels with different names.  However,
even if you install an SMP and non-SMP kernels with different names,
not all kernel modules can be shared -- at least any kernel modules
using spinlocks, such as nfs.ko and acpi.ko (and you don't want to
compile acpi in the kernel, as some of important fixes in *.patch files
are not used).  Of course, if you don't mind keeping multiple sets of
kernel/modules, you can specify DESTDIR to install them under separate
directories.  You can use module_path variable in boot loader to point
to that directory:
  set module_path="/smp/;/smp/modules/"

Cheers.





More information about the Users mailing list