Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/compat One more vestige.



details:   https://anonhg.NetBSD.org/src/rev/7e53754d7804
branches:  trunk
changeset: 968069:7e53754d7804
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Jan 01 19:36:27 2020 +0000

description:
One more vestige.

diffstat:

 sys/modules/compat/Makefile |  61 ---------------------------------------------
 1 files changed, 0 insertions(+), 61 deletions(-)

diffs (65 lines):

diff -r f4aa250e0b05 -r 7e53754d7804 sys/modules/compat/Makefile
--- a/sys/modules/compat/Makefile       Wed Jan 01 19:35:21 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-#      $NetBSD: Makefile,v 1.16 2019/01/27 02:08:44 pgoyette Exp $
-
-.include "../Makefile.inc"
-
-.PATH: ${S}/compat/common
-
-KMOD=  compat
-
-#
-# We don't want to hook these in for the native emulation, but do want
-# the symbols available for other emulations.  So include the source
-# files but don't hook them in via compat_modcmd().
-#
-CPPFLAGS+=     -DCOMPAT_09
-CPPFLAGS+=     -DCOMPAT_10
-CPPFLAGS+=     -DCOMPAT_11
-CPPFLAGS+=     -DCOMPAT_12
-CPPFLAGS+=     -DCOMPAT_13
-CPPFLAGS+=     -DCOMPAT_14
-CPPFLAGS+=     -DCOMPAT_15
-CPPFLAGS+=     -DCOMPAT_16
-
-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
-# pick up more for bsd.klinks.mk as needed.
-MACHINE_EXTRA= x86
-.else
-MACHINE_EXTRA= none
-.endif
-
-.include "../../compat/common/Makefile.sysio"
-
-SRCS+= compat_mod.c compat_exec.c compat_util.c
-
-.PATH: ${S}/arch/${MACHINE}/${MACHINE}
-.PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
-.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
-.   if exists(${S}/arch/${MACHINE}/${MACHINE}/${i}) || \
-       exists(${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}/${i}) || \
-       exists(${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}/${i}) || \
-       exists(${S}/arch/${MACHINE_EXTRA}/${MACHINE_EXTRA}/${i})
-SRCS+= ${i}
-.   endif
-.endfor
-
-.include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index