Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys compat_util.c must be compiled by default in the kernel....



details:   https://anonhg.NetBSD.org/src/rev/509bb2495b39
branches:  trunk
changeset: 828490:509bb2495b39
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Dec 16 10:15:12 2017 +0000

description:
compat_util.c must be compiled by default in the kernel. It is needed by
generic non-compat code, so it must not depend on anything (libcompat or
whatever option we choose to associate it to).

diffstat:

 sys/compat/common/Makefile |  4 ++--
 sys/kern/files.kern        |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 295387114d1d -r 509bb2495b39 sys/compat/common/Makefile
--- a/sys/compat/common/Makefile        Sat Dec 16 09:34:18 2017 +0000
+++ b/sys/compat/common/Makefile        Sat Dec 16 10:15:12 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.61 2017/08/04 09:33:03 maxv Exp $
+#      $NetBSD: Makefile,v 1.62 2017/12/16 10:15:12 maxv Exp $
 
 LIB=           compat
 NOPIC=         # defined
@@ -9,7 +9,7 @@
 .PATH.c: ${COMPATDIR}
 
 # Common compatibility code, used by all emulations
-SRCS=  compat_exec.c compat_util.c
+SRCS=  compat_exec.c
 
 # Include compatibility code common to libcompat and the compat module
 
diff -r 295387114d1d -r 509bb2495b39 sys/kern/files.kern
--- a/sys/kern/files.kern       Sat Dec 16 09:34:18 2017 +0000
+++ b/sys/kern/files.kern       Sat Dec 16 10:15:12 2017 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: files.kern,v 1.15 2017/05/19 00:01:33 pgoyette Exp $
+#      $NetBSD: files.kern,v 1.16 2017/12/16 10:15:12 maxv Exp $
 
 #
 # kernel sources
 #
 define kern:   machdep, uvm
 defflag        opt_kern.h                      KERN
+file   compat/common/compat_util.c     kern
 file   compat/common/compat_mod.c      compat_netbsd | compat_netbsd32
 file   conf/debugsyms.c                kern
 file   conf/param.c                    kern



Home | Main Index | Thread Index | Old Index