NetBSD/sys/compat/common/Makefile.sysio
pgoyette 9d7a921fe1 Split the module glue out from the rest of opencrypto/ocryptodev to
make rump happy.

Rump doesn't have compat modules (the compat code is included in the
relevant librump*.so), so there's no module compat_50 listed in
link_set_modules, and thus ocryptodev's MODULE(...) can't "require"
it.

This fixes the problem of "built-in module compat_50 not found" when
starting up rump_allserver (or rump_server with -l rumpdev_opencrypto).

XXX This does not resolve the long-standing "crypto: unable to
XXX register devsw, error 17" message noted at line 78 of
XXX sys/rump/dev/lib/libopencrypto/opencrypto_component.c
2020-01-27 17:09:17 +00:00

69 lines
1.9 KiB
Makefile

# $NetBSD: Makefile.sysio,v 1.13 2020/01/27 17:09:17 pgoyette Exp $
# Sources for syscall and ioctl compatibility across the versions.
# Compatibility code for 4.3BSD
SRCS+= kern_exit_43.c kern_info_43.c kern_resource_43.c kern_sig_43.c \
tty_43.c uipc_syscalls_43.c vfs_syscalls_43.c vm_43.c if_43.c
# Compatibility code for NetBSD 0.9
SRCS+= kern_info_09.c
SRCS+= compat_sysctl_09_43.c # for compat_43 or compat_09
# Compatability code for NetBSD 1.0
SRCS+= vfs_syscalls_10.c
# Compatibility code for NetBSD 1.2
SRCS+= kern_xxx_12.c vfs_syscalls_12.c vm_12.c
# Compatibility code for NetBSD 1.3
SRCS+= kern_sig_13.c uvm_13.c
# Compatibility code for NetBSD 1.6
SRCS+= kern_sig_16.c
# Compatibility code for NetBSD 1.4
SRCS+= rtsock_14.c
# Compatibility code for NetBSD 2.0
SRCS+= vfs_syscalls_20.c ieee80211_20.c if43_20.c
# Compatibility code for NetBSD 3.0
SRCS+= kern_time_30.c vfs_syscalls_30.c uipc_syscalls_30.c bio_30.c vnd_30.c
SRCS+= usb_subr_30.c
# Compatibility code for NetBSD 4.0
SRCS+= vfs_syscalls_40.c uipc_syscalls_40.c
# Compatibility code for NetBSD 5.0
SRCS+= kern_50.c kern_time_50.c kern_select_50.c rndpseudo_50.c rtsock_50.c \
vfs_syscalls_50.c uipc_syscalls_50.c uvm_50.c clockctl_50.c \
if_spppsubr50.c vnd_50.c
# Compatibility code for NetBSD 6.0
SRCS+= kern_sa_60.c tty_60.c kern_time_60.c kern_cpu_60.c ccd_60.c
# Compatibility code for NetBSD 7.0
SRCS+= rtsock_70.c uipc_usrreq_70.c
# Compatability code for NetBSD 8.0
SRCS+= kern_mod_80.c if_media_80.c
# More compatibility code for NetBSD 5.0
.PATH: ${S}/opencrypto
SRCS+= ocryptodev.c compat_crypto_50.c
# Raidframe compatibility code for NetBSD 5.0 and 8.0
.PATH: ${S}/dev/raidframe
SRCS+= rf_compat50.c
SRCS+= rf_compat80.c
# Puffs compatability code for NetBSD 5.0
.PATH: ${S}/fs/puffs
SRCS+= puffs_compat.c
# wsevent compatability code for NetBSD 5.0
.PATH: ${S}/dev/wscons
SRCS+= wsevent_50.c