Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/modules Include required MD code for amd64



details:   https://anonhg.NetBSD.org/src/rev/a85455714874
branches:  pgoyette-compat
changeset: 830695:a85455714874
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Sep 13 22:09:20 2018 +0000

description:
Include required MD code for amd64

diffstat:

 sys/modules/compat_13/Makefile       |  7 ++++++-
 sys/modules/compat_netbsd32/Makefile |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 02b3c3af78b3 -r a85455714874 sys/modules/compat_13/Makefile
--- a/sys/modules/compat_13/Makefile    Thu Sep 13 21:42:24 2018 +0000
+++ b/sys/modules/compat_13/Makefile    Thu Sep 13 22:09:20 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.2.1 2018/03/30 11:18:34 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.1.2.2 2018/09/13 22:09:20 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -12,5 +12,10 @@
 SRCS+= compat_13_mod.c
 SRCS+= uvm_13.c kern_sig_13.c
 
+.if ${MACHINE_ARCH} == "x86_64"
+.PATH: ${S}/arch/amd64/amd64
+
+SRCS+= compat_13_machdep.c
+.endif
 
 .include <bsd.kmodule.mk>
diff -r 02b3c3af78b3 -r a85455714874 sys/modules/compat_netbsd32/Makefile
--- a/sys/modules/compat_netbsd32/Makefile      Thu Sep 13 21:42:24 2018 +0000
+++ b/sys/modules/compat_netbsd32/Makefile      Thu Sep 13 22:09:20 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20.12.9 2018/09/12 04:35:22 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.20.12.10 2018/09/13 22:10:04 pgoyette Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -43,6 +43,7 @@
 
 .if ${MACHINE_ARCH} == "x86_64"
 .PATH: ${S}/arch/amd64/amd64
+CPPFLAGS+=     -DCOMPAT_13 -DCOMPAT_16
 SRCS+= netbsd32_machdep.c netbsd32_sigcode.S netbsd32_syscall.c
 .endif
 



Home | Main Index | Thread Index | Old Index