Subject: why do we have libkern.o, and not libkern.a ?
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 03/12/2005 12:46:31
I was wondering why the build creates a libkern.o (so all the objects
are included in every kernel) rather than a libkern.a so that only the
referenced items are included?

My suspicions have to do with ensuring that LKMs have all the functions
available...

OTOH the install kernel will fit if built with a libkern.a ...
Although cutting down on sysctl would also help.

I also have half a plan to police the size of the small kernels, using
a script that will report the guilty party when it all stops fitting.

	David

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