Module Name: src
Committed By: maxv
Date: Sat Dec 16 10:15:12 UTC 2017
Modified Files:
src/sys/compat/common: Makefile
src/sys/kern: files.kern
Log Message:
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).
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/common/Makefile
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/files.kern
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/Makefile
diff -u src/sys/compat/common/Makefile:1.61 src/sys/compat/common/Makefile:1.62
--- src/sys/compat/common/Makefile:1.61 Fri Aug 4 09:33:03 2017
+++ src/sys/compat/common/Makefile Sat Dec 16 10:15:12 2017
@@ -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 @@ CPPFLAGS= ${COMPATCPPFLAGS} ${SKIP_AUTOD
.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
Index: src/sys/kern/files.kern
diff -u src/sys/kern/files.kern:1.15 src/sys/kern/files.kern:1.16
--- src/sys/kern/files.kern:1.15 Fri May 19 00:01:33 2017
+++ src/sys/kern/files.kern Sat Dec 16 10:15:12 2017
@@ -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