summaryrefslogtreecommitdiff
path: root/sbin/modload/Makefile
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-11-12 12:35:50 +0000
committerad <ad@NetBSD.org>2008-11-12 12:35:50 +0000
commit0efea177e37295fed654875d875160c47500d6bd (patch)
tree9d0589344a5d07b9a511a2e81ebbd701744d03b5 /sbin/modload/Makefile
parent0f81d3e0a26c2833cd085c472a4a77c325486b75 (diff)
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Diffstat (limited to 'sbin/modload/Makefile')
-rw-r--r--sbin/modload/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/sbin/modload/Makefile b/sbin/modload/Makefile
index 8808046e442..9899683d84a 100644
--- a/sbin/modload/Makefile
+++ b/sbin/modload/Makefile
@@ -1,27 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2008/03/02 11:20:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2008/11/12 12:35:53 ad Exp $
.include <bsd.own.mk>
-.if ${MKMODULAR} != "no" # new module framework
-
PROG= modload
SRCS= main.c
MAN= modload.8
LDADD= -lprop
-.else # LKMS
-
-PROG= modload
-SRCS= modload.c
-MAN= modload.8
-
-.if (${OBJECT_FMT} == "ELF")
-SRCS+= elf.c
-.else
-SRCS+= a.out.c
-CFLAGS+=-DUSE_AOUT
-.endif
-
-.endif
-
.include <bsd.prog.mk>