summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 11:23:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 11:23:34 +0000
commit81c82f0a9fedfa5bda0780e86db5a95a644b83dc (patch)
tree96e86ecc2edffc7e5499f96782d7c6f3fe3018ce /sys/conf
parent7ac5456ddfe594fa299bc0055230df33e759a988 (diff)
Get rid of the kernel 'libcompat' framework, and instead use conf/files to
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files27
1 files changed, 26 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index a955515b27a..6442ddd73dc 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.415 2007/11/23 10:25:15 deraadt Exp $
+# $OpenBSD: files,v 1.416 2007/11/25 11:23:33 deraadt Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -962,3 +962,28 @@ file net/pfkey.c key | ipsec | tcp_signature
file net/pfkeyv2.c key | ipsec | tcp_signature
file net/pfkeyv2_parsemessage.c key | ipsec | tcp_signature
file net/pfkeyv2_convert.c key | ipsec | tcp_signature
+
+# COMPAT_* support code (base and other shared code)
+file compat/common/compat_exec.c !small_kernel
+file compat/common/compat_util.c !small_kernel
+file compat/common/compat_dir.c !small_kernel
+file compat/common/compat_vm.c !small_kernel &
+ (compat_freebsd | compat_bsdos | compat_sunos | compat_hpux | compat_linux)
+file compat/common/kern_info_09.c !small_kernel &
+ (compat_freebsd | compat_ibcs2 | compat_sunos | compat_hpux | compat_linux)
+file compat/common/kern_ipc_10.c !small_kernel &
+ (compat_freebsd | compat_ibcs2 | compat_sunos | compat_hpux | compat_bsdos)
+file compat/common/vfs_syscalls_25.c !small_kernel &
+ (compat_freebsd | compat_bsdos | compat_sunos | compat_hpux)
+file compat/common/vfs_syscalls_35.c !small_kernel &
+ (compat_freebsd | compat_bsdos | compat_sunos | compat_hpux)
+file compat/common/kern_ipc_35.c !small_kernel & compat_35
+file compat/common/kern_ipc_23.c !small_kernel & compat_23
+file compat/common/kern_exit_43.c !small_kernel
+file compat/common/kern_info_43.c !small_kernel
+file compat/common/kern_resource_43.c !small_kernel
+file compat/common/kern_sig_43.c !small_kernel
+file compat/common/tty_43.c !small_kernel
+file compat/common/uipc_syscalls_43.c !small_kernel
+file compat/common/vfs_syscalls_43.c !small_kernel
+file compat/common/vm_43.c !small_kernel