Source-Changes-HG archive

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

[src/trunk]: src/sys/modules Create new compat_netbsd32_mqueue module, and de...



details:   https://anonhg.NetBSD.org/src/rev/660c8aa42eed
branches:  trunk
changeset: 812133:660c8aa42eed
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Dec 01 23:58:19 2015 +0000

description:
Create new compat_netbsd32_mqueue module, and descend into subdir to
build it.

diffstat:

 sys/modules/Makefile                        |   5 ++++-
 sys/modules/compat_netbsd32/Makefile        |   6 +++---
 sys/modules/compat_netbsd32_mqueue/Makefile |  14 ++++++++++++++
 3 files changed, 21 insertions(+), 4 deletions(-)

diffs (77 lines):

diff -r 3b449774b22a -r 660c8aa42eed sys/modules/Makefile
--- a/sys/modules/Makefile      Tue Dec 01 23:57:19 2015 +0000
+++ b/sys/modules/Makefile      Tue Dec 01 23:58:19 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.158 2015/12/01 09:13:57 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.159 2015/12/01 23:58:19 pgoyette Exp $
 
 .include <bsd.own.mk>
 
@@ -48,6 +48,7 @@
 SUBDIR+=       if_smsc
 SUBDIR+=       iic
 SUBDIR+=       kernfs
+SUBDIR+=       ksem
 SUBDIR+=       layerfs
 SUBDIR+=       lfs
 SUBDIR+=       lua
@@ -211,12 +212,14 @@
     || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE))
 SUBDIR+=       compat_netbsd32
 SUBDIR+=       compat_netbsd32_nfssrv
+SUBDIR+=       compat_netbsd32_mqueue
 .endif
 
 .if ${MACHINE_ARCH} == "x86_64"
 SUBDIR+=       compat_linux32
 SUBDIR+=       compat_netbsd32
 SUBDIR+=       compat_netbsd32_nfssrv
+SUBDIR+=       compat_netbsd32_mqueue
 .endif
 
 .if ${MACHINE_ARCH} == "i386"
diff -r 3b449774b22a -r 660c8aa42eed sys/modules/compat_netbsd32/Makefile
--- a/sys/modules/compat_netbsd32/Makefile      Tue Dec 01 23:57:19 2015 +0000
+++ b/sys/modules/compat_netbsd32/Makefile      Tue Dec 01 23:58:19 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2015/12/01 09:13:58 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.17 2015/12/01 23:58:19 pgoyette Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -21,7 +21,7 @@
 CPPFLAGS+=     -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_NETBSD32
 CPPFLAGS+=     -DEXEC_ELF32 -DEXEC_ELF64
 CPPFLAGS+=     -DCOREDUMP -DNTP -DVMSWAP
-CPPFLAGS+=     -DNTP -DMQUEUE
+CPPFLAGS+=     -DNTP
 
 .PATH: ${S}/compat/netbsd32
 SRCS+= netbsd32_compat_09.c netbsd32_compat_10.c
@@ -39,7 +39,7 @@
 SRCS+= netbsd32_socket.c netbsd32_syscalls.c
 SRCS+= netbsd32_sysctl.c netbsd32_sysent.c
 SRCS+= netbsd32_time.c netbsd32_wait.c
-SRCS+= netbsd32_mod.c netbsd32_mqueue.c netbsd32_module.c
+SRCS+= netbsd32_mod.c netbsd32_module.c
 
 .if ${MACHINE_CPU} != "mips" && ${MACHINE_CPU} != "powerpc"
 CPPFLAGS+=     -DEXEC_AOUT -DCOMPAT_NOMID
diff -r 3b449774b22a -r 660c8aa42eed sys/modules/compat_netbsd32_mqueue/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/compat_netbsd32_mqueue/Makefile       Tue Dec 01 23:58:19 2015 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1 2015/12/01 23:58:19 pgoyette Exp $
+
+.include "../Makefile.inc"
+.include "../Makefile.assym"
+
+KMOD=  compat_netbsd32_mqueue
+
+CPPFLAGS+=     -DCOMPAT_NETBSD32 -DCOMPAT_50
+CPPFLAGS+=     -DMQUEUE
+
+.PATH: ${S}/compat/netbsd32
+SRCS+= netbsd32_mqueue.c
+
+.include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index