Descend into new compat_netbsd32_nfssrv directory for new module, and

remove netbsd32_nfssvc.c from the original compat_netbsd32 module.
This commit is contained in:
pgoyette 2015-12-01 09:13:57 +00:00
parent 1b56eccb90
commit d8aa6e0165
3 changed files with 20 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.157 2015/11/15 03:12:14 pgoyette Exp $
# $NetBSD: Makefile,v 1.158 2015/12/01 09:13:57 pgoyette Exp $
.include <bsd.own.mk>
@ -210,11 +210,13 @@ SUBDIR+= wmimsi
.if ${MACHINE_CPU} == "arm" \
|| (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE))
SUBDIR+= compat_netbsd32
SUBDIR+= compat_netbsd32_nfssrv
.endif
.if ${MACHINE_ARCH} == "x86_64"
SUBDIR+= compat_linux32
SUBDIR+= compat_netbsd32
SUBDIR+= compat_netbsd32_nfssrv
.endif
.if ${MACHINE_ARCH} == "i386"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2015/08/31 09:34:07 christos Exp $
# $NetBSD: Makefile,v 1.16 2015/12/01 09:13:58 pgoyette Exp $
.include "../Makefile.inc"
.include "../Makefile.assym"
@ -21,6 +21,7 @@ CPPFLAGS+= -DCOMPAT_43
CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_NETBSD32
CPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64
CPPFLAGS+= -DCOREDUMP -DNTP -DVMSWAP
CPPFLAGS+= -DNTP -DMQUEUE
.PATH: ${S}/compat/netbsd32
SRCS+= netbsd32_compat_09.c netbsd32_compat_10.c
@ -33,7 +34,7 @@ SRCS+= netbsd32_exec_elf32.c
SRCS+= netbsd32_execve.c netbsd32_fs.c
SRCS+= netbsd32_ioctl.c netbsd32_ipc.c
SRCS+= netbsd32_lwp.c netbsd32_netbsd.c
SRCS+= netbsd32_select.c netbsd32_nfssvc.c
SRCS+= netbsd32_select.c
SRCS+= netbsd32_sem.c netbsd32_signal.c
SRCS+= netbsd32_socket.c netbsd32_syscalls.c
SRCS+= netbsd32_sysctl.c netbsd32_sysent.c

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2015/12/01 09:13:58 pgoyette Exp $
.include "../Makefile.inc"
.include "../Makefile.assym"
KMOD= compat_netbsd32_nfssrv
CPPFLAGS+= -DCOMPAT_NETBSD32
CPPFLAGS+= -DNFSSERVER
.PATH: ${S}/compat/netbsd32
SRCS+= netbsd32_nfssvc.c
.include <bsd.kmodule.mk>