CVS commit: [pgoyette-compat] src/sys/modules/compat

2018-03-08 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Mar  8 09:54:36 UTC 2018

Modified Files:
src/sys/modules/compat [pgoyette-compat]: Makefile

Log Message:
Include shared/common routines in the compat_netbsd Makefile

XXX These may later be extracted into an independant compat_util
XXX module.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.14.1 src/sys/modules/compat/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/modules/compat/Makefile
diff -u src/sys/modules/compat/Makefile:1.14 src/sys/modules/compat/Makefile:1.14.14.1
--- src/sys/modules/compat/Makefile:1.14	Thu Nov  3 04:26:58 2016
+++ src/sys/modules/compat/Makefile	Thu Mar  8 09:54:36 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2016/11/03 04:26:58 riastradh Exp $
+#	$NetBSD: Makefile,v 1.14.14.1 2018/03/08 09:54:36 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -27,7 +27,7 @@ CPPFLAGS+=	-DCOMPAT_43
 
 .include "../../compat/common/Makefile.sysio"
 
-SRCS+=	compat_mod.c
+SRCS+=	compat_mod.c compat_exec.c compat_util.c
 
 .PATH:	${S}/arch/${MACHINE}/${MACHINE}
 .PATH:	${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}



CVS commit: [pgoyette-compat] src/sys/modules/compat

2018-03-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar 26 00:00:39 UTC 2018

Modified Files:
src/sys/modules/compat [pgoyette-compat]: Makefile

Log Message:
Remove duplicate setting of -DCPU_UCODE


To generate a diff of this commit:
cvs rdiff -u -r1.14.14.5 -r1.14.14.6 src/sys/modules/compat/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/modules/compat/Makefile
diff -u src/sys/modules/compat/Makefile:1.14.14.5 src/sys/modules/compat/Makefile:1.14.14.6
--- src/sys/modules/compat/Makefile:1.14.14.5	Thu Mar 22 01:44:51 2018
+++ src/sys/modules/compat/Makefile	Mon Mar 26 00:00:39 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14.14.5 2018/03/22 01:44:51 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.14.14.6 2018/03/26 00:00:39 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -24,13 +24,6 @@ CPPFLAGS+=	-DCOMPAT_20
 CPPFLAGS+=	-DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50
 CPPFLAGS+=	-DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
 CPPFLAGS+=	-DCOMPAT_43
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-CPPFLAGS+=	-DCPU_UCODE
-# pick up more for bsd.klinks.mk as needed.
-MACHINE_EXTRA=	x86
-.else
-MACHINE_EXTRA=	none
-.endif
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=	-DCPU_UCODE
@@ -38,7 +31,6 @@ CPPFLAGS+=	-DCPU_UCODE
 MACHINE_EXTRA= x86
 .else
 MACHINE_EXTRA= none
-
 .endif
 
 .include "../../compat/common/Makefile.sysio"



CVS commit: [pgoyette-compat] src/sys/modules/compat

2018-03-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar 27 03:41:51 UTC 2018

Modified Files:
src/sys/modules/compat [pgoyette-compat]: Makefile

Log Message:
Finish disable of compat_60_cpu_ucode.c


To generate a diff of this commit:
cvs rdiff -u -r1.14.14.6 -r1.14.14.7 src/sys/modules/compat/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/modules/compat/Makefile
diff -u src/sys/modules/compat/Makefile:1.14.14.6 src/sys/modules/compat/Makefile:1.14.14.7
--- src/sys/modules/compat/Makefile:1.14.14.6	Mon Mar 26 00:00:39 2018
+++ src/sys/modules/compat/Makefile	Tue Mar 27 03:41:51 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14.14.6 2018/03/26 00:00:39 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.14.14.7 2018/03/27 03:41:51 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -42,7 +42,7 @@ SRCS+=	compat_mod.c compat_exec.c compat
 .PATH:	${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}
 .PATH:	${S}	${S}/arch/${MACHINE_EXTRA}/${MACHINE_EXTRA}
 
-.for i in compat_13_machdep.c compat_16_machdep.c compat_60_cpu_ucode.c
+.for i in compat_13_machdep.c compat_16_machdep.c # compat_60_cpu_ucode.c
 .   if	exists(${S}/arch/${MACHINE}/${MACHINE}/${i}) || \
 	exists(${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}/${i}) || \
 	exists(${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}/${i}) || \