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
This commit is contained in:
Brian Feldman 2001-08-08 13:51:10 +00:00
parent 5972d8df5b
commit 46877fb22c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81289

View File

@ -257,7 +257,7 @@ distribute: _SUBDIR
.if !target(load)
load: ${PROG}
${KMODLOAD} -v ./${KMOD}.ko
${KMODLOAD} -v ${.CURDIR}/${KMOD}.ko
.endif
.if !target(unload)