Subject: re: why do we have libkern.o, and not libkern.a ?
To: matthew green <>
From: Hubert Feyrer <>
List: tech-toolchain
Date: 03/12/2005 14:12:42
On Sun, 13 Mar 2005, matthew green wrote:
> LKM-unaware kernels could use libkern.a i believe...

Maybe something like, in (e.g.) src/sys/arch/i386/conf/Makefile.i386:

 	.if !empty(IDENT:MLKM)
 	KERN_AS=        obj
 	KERN_AS=        library

? (untested!)

Looking at all the sys/arch/*/conf/Makefile.* files, it may be more useful 
to pull that into some generic code fragment (like e.g. 

(I wonder why ~all(?) kernel Makefiles set KERN_AS=obj, when the default 
is "library". Seems kinda backward. (Not knowing which ones don't set it!)

  - Hubert

NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)