Re: HEADS-UP: Recent atari install floppy overflow

[email protected] Tue, 18 Sep 2018 12:52:18 +0000
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'd like to propose the following to remove dead code intended for
modules, which are not enabled.

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: Makefile.amiga
===================================================================
RCS file: /cvsroot/src/sys/arch/amiga/conf/Makefile.amiga,v
retrieving revision 1.110
diff -u -r1.110 Makefile.amiga
--- Makefile.amiga	5 Mar 2018 02:41:03 -0000	1.110
+++ Makefile.amiga	18 Sep 2018 12:49:36 -0000
@@ -42,7 +42,12 @@
 ##
 ## (3) libkern and compat
 ##
+OPT_MODULAR=	%MODULAR%
+.if !empty(OPT_MODULAR)
 KERN_AS=	obj
+.else
+KERN_AS=	library
+.endif
 
 ##
 ## (4) local objects, compile rules, and dependencies

--bg08WKrSYDhXBjb5--