diff options
author | green <green@FreeBSD.org> | 2001-08-08 13:51:10 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-08-08 13:51:10 +0000 |
commit | c2971068e60a9b652f93fdaefb69522512a73164 (patch) | |
tree | e2d7799d89c6649be6e1573c6768cd728998056f | |
parent | 423aa253ae01cf06d5a02f1b23451a5559aec61b (diff) | |
download | FreeBSD-src-c2971068e60a9b652f93fdaefb69522512a73164.zip FreeBSD-src-c2971068e60a9b652f93fdaefb69522512a73164.tar.gz |
In the KLD "load" make target, don't load using the "absolute" path of
"./foo.ko". Use "/full/path/foo.ko" instead so that when the path is
reported as being an absolute path to the "shared library", at least
it's not really a relative path.
Obtained from: LOMAC/FreeBSD project
-rw-r--r-- | sys/conf/kmod.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 866de87..b2109a5 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -257,7 +257,7 @@ distribute: _SUBDIR .if !target(load) load: ${PROG} - ${KMODLOAD} -v ./${KMOD}.ko + ${KMODLOAD} -v ${.CURDIR}/${KMOD}.ko .endif .if !target(unload) |