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:
green 2001-08-08 13:51:10 +00:00
parent a8d2038f4e
commit 8e45ccc166

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)