I'd like to propose the following to remove dead code intended for
modules, which are not enabled.
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

Reply via email to