summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2020-01-01 19:36:27 +0000
committerpgoyette <pgoyette@NetBSD.org>2020-01-01 19:36:27 +0000
commitb445c51fb1c8675995ef2b79914036db5b3bb358 (patch)
treec4dc6fdaada9134fdc8bee53cceb8476897867af /sys/modules
parentf9373d5f5757dd73d76b991c1da55b90daa9e7bc (diff)
One more vestige.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/compat/Makefile61
1 files changed, 0 insertions, 61 deletions
diff --git a/sys/modules/compat/Makefile b/sys/modules/compat/Makefile
deleted file mode 100644
index d5399aaca98..00000000000
--- a/sys/modules/compat/Makefile
+++ /dev/null
@@ -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>