Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: unused kernel functions (SHA3, etc.)
never mind, this works instead (courtesy of phone)
Index: sun2/conf/Makefile.sun2
===================================================================
RCS file: /cvsroot/src/sys/arch/sun2/conf/Makefile.sun2,v
retrieving revision 1.20
diff -u -r1.20 Makefile.sun2
--- sun2/conf/Makefile.sun2 21 Jan 2011 15:59:09 -0000 1.20
+++ sun2/conf/Makefile.sun2 1 Mar 2018 08:46:41 -0000
@@ -38,7 +38,7 @@
##
## (3) libkern and compat
##
-KERN_AS= obj
+KERN_AS= library
# XXX lib/libkern/arch/m68k/Makefile.inc needs to know that
# XXX our MACHINE_ARCH is m68000, and not m68k. --fredette
KERNMISCMAKEFLAGS= MACHINE_ARCH=${MACHINE_ARCH}
Index: sun3/conf/Makefile.sun3
===================================================================
RCS file: /cvsroot/src/sys/arch/sun3/conf/Makefile.sun3,v
retrieving revision 1.105
diff -u -r1.105 Makefile.sun3
--- sun3/conf/Makefile.sun3 25 Feb 2018 00:27:16 -0000 1.105
+++ sun3/conf/Makefile.sun3 1 Mar 2018 08:46:41 -0000
@@ -39,7 +39,12 @@
##
## (3) libkern and compat
##
+OPT_MODULAR= %MODULAR%
+.if !empty(OPT_MODULAR)
KERN_AS= obj
+.else
+KERN_AS= library
+.endif
Home |
Main Index |
Thread Index |
Old Index