Subject: Bug in
To: current-users <current-users@NetBSD.ORG>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 12/14/1997 19:04:53
<bsd.kmod.mk> has

.if !target(load)
load:	${PROG}
	/sbin/modload -o ${KMOD} -e${KMOD}_lkmentry ${PROG}
.endif

.if !target(unload)
unload: ${PROG}
	/sbin/modunload -n ${KMOD}
.endif


1) "-e${KMOD}_lkmentry" is redundant because /sbin/modload looks for an
entry point named "Module Name"_lkmentry, anyway.

2) "-e${KMOD}_lkmentry" is used as the symbolic name in the LKM table. Of
course, "make unload" does not find the entry and fails.

Has anyone actually used this since

	$NetBSD: bsd.kmod.mk,v 1.22.2.1 1997/11/04 21:51:30 thorpej Exp $

???

	hauke


--
"It's never straight up and down"     (DEVO)