Module Name:    src
Committed By:   pgoyette
Date:           Sun Mar 25 10:38:51 UTC 2018

Modified Files:
        src/sys/compat/common [pgoyette-compat]: Makefile.sysio
        src/sys/modules/compat_60 [pgoyette-compat]: Makefile

Log Message:
Include compat code in the modules


To generate a diff of this commit:
cvs rdiff -u -r1.7.18.14 -r1.7.18.15 src/sys/compat/common/Makefile.sysio
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/modules/compat_60/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/common/Makefile.sysio
diff -u src/sys/compat/common/Makefile.sysio:1.7.18.14 src/sys/compat/common/Makefile.sysio:1.7.18.15
--- src/sys/compat/common/Makefile.sysio:1.7.18.14	Sun Mar 25 09:16:07 2018
+++ src/sys/compat/common/Makefile.sysio	Sun Mar 25 10:38:51 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.sysio,v 1.7.18.14 2018/03/25 09:16:07 pgoyette Exp $
+#	$NetBSD: Makefile.sysio,v 1.7.18.15 2018/03/25 10:38:51 pgoyette Exp $
 
 # Sources for syscall and ioctl compatibility across the versions.
 
@@ -64,4 +64,6 @@ SRCS+=	wsevent_50.c
 # x86-specific compatability code for NetBSD 6.0
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=      -DCPU_UCODE
+.PATH:  ${S}/arch/x86/x86
+SRCS+=  compat_60_cpu_ucode.c
 .endif

Index: src/sys/modules/compat_60/Makefile
diff -u src/sys/modules/compat_60/Makefile:1.1.2.10 src/sys/modules/compat_60/Makefile:1.1.2.11
--- src/sys/modules/compat_60/Makefile:1.1.2.10	Sun Mar 25 09:16:07 2018
+++ src/sys/modules/compat_60/Makefile	Sun Mar 25 10:38:51 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.2.10 2018/03/25 09:16:07 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.1.2.11 2018/03/25 10:38:51 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -8,11 +8,14 @@ KMOD=	compat_60
 
 CPPFLAGS+=	-DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
 
+SRCS+=	compat_60_mod.c kern_sa_60.c tty_60.c kern_time_60.c ccd_60.c \
+	kern_cpu_60.c
+
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=	-DCPU_UCODE
-.endif
 
-SRCS+=	compat_60_mod.c kern_sa_60.c tty_60.c kern_time_60.c ccd_60.c \
-	kern_cpu_60.c
+.PATH:	${S}/arch/x86/x86
+SRCS+=	compat_60_cpu_ucode.c
+.endif
 
 .include <bsd.kmodule.mk>

Reply via email to