From 28cc91d8c51da1ea79a876b2431149f013aa8797 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Wed, 4 Nov 1998 17:15:07 +0000 Subject: [PATCH] Don't try to build i386-centric modules on non-i386 systems. --- sys/modules/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 382ed3b70035..158dacc46dbf 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,10 +1,14 @@ -# $Id: Makefile,v 1.36 1998/11/03 08:03:04 peter Exp $ +# $Id: Makefile,v 1.37 1998/11/03 08:58:27 peter Exp $ # XXX present but broken: ip_mroute_mod # XXX not yet completed porting: pcic syscons/* # XXX builds but not updated: atapi, wcd, maybe vesa -SUBDIR= atapi ccd cd9660 coda coff fdesc fpu gnufpu ibcs2 if_disc if_ppp if_sl \ - if_tun ipfw joy kernfs linux mfs msdos nfs nullfs \ - portal procfs syscons umapfs union vesa vinum wcd +SUBDIR= ccd cd9660 coda fdesc if_disc if_ppp if_sl if_tun ipfw kernfs \ + mfs msdos nfs nullfs portal procfs umapfs union vinum + +# XXX some of these can move to the general case when de-i386'ed +.if $MACHINE_ARCH == "i386" +SUBDIR+=atapi coff fpu gnufpu ibcs2 joy linux syscons vesa wcd +.endif .include