Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Add KMOD_LOADFLAGS to the load target. With this, l...
details: https://anonhg.NetBSD.org/src/rev/e6e2666e7c1b
branches: trunk
changeset: 476632:e6e2666e7c1b
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Wed Sep 22 18:06:21 1999 +0000
description:
Add KMOD_LOADFLAGS to the load target. With this, lkm's in /sys/lkm/... can
more readily depend on each other.
An lkm which depends on another lkm now only needs to set
KMOD_LOADFLAGS= -A../../path/to/other/lkm's/${KMOD}
and the lkm will link against the other lkm's symbols. Obviously the other
lkm had better be loaded. ;-) Note: the -A option to modload was pre-
existing. This change makes it possible for users of this file to take
advantage of it.
diffstat:
share/mk/bsd.kmod.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f2b57e91dab4 -r e6e2666e7c1b share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk Wed Sep 22 14:39:53 1999 +0000
+++ b/share/mk/bsd.kmod.mk Wed Sep 22 18:06:21 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmod.mk,v 1.33 1999/09/14 01:31:11 perry Exp $
+# $NetBSD: bsd.kmod.mk,v 1.34 1999/09/22 18:06:21 wrstuden Exp $
.if !target(__initialized__)
__initialized__:
@@ -80,7 +80,7 @@
.if !target(load)
load: ${PROG}
- /sbin/modload -o ${KMOD} -e${KMOD}_lkmentry ${PROG}
+ /sbin/modload ${KMOD_LOADFLAGS} -o ${KMOD} -e${KMOD}_lkmentry ${PROG}
.endif
.if !target(unload)
Home |
Main Index |
Thread Index |
Old Index