From 1c1e4144e2f188de59fbf9092e2fa2655269aa18 Mon Sep 17 00:00:00 2001 From: dsl Date: Sat, 12 Mar 2005 14:39:12 +0000 Subject: [PATCH] Use an archive library for libkern if we don't support LKMs. Enough to get INSTALL_TINY small enough again. Someone else can fix it next time... --- sys/arch/i386/conf/Makefile.i386 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 5d3625f4a583..31a5599b5ec4 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.i386,v 1.136 2004/07/15 03:35:20 atatat Exp $ +# $NetBSD: Makefile.i386,v 1.137 2005/03/12 14:39:12 dsl Exp $ # Makefile for NetBSD # @@ -37,7 +37,11 @@ AFLAGS+= -x assembler-with-cpp -traditional-cpp ## ## (3) libkern and compat ## +.if !empty(IDENT:M-DLKM) KERN_AS= obj +.else +KERN_AS= library +.endif ## ## (4) local objects, compile rules, and dependencies