diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2002-06-17 20:01:06 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2002-06-17 20:01:06 +0000 |
commit | f739d87ace5b9b616e17b6724869893953283e61 (patch) | |
tree | 578e5fbab614d44d7b3fcc276e704f3e1429975d /sys | |
parent | 384222848c2eefef86ad23f4d4568b3b47e2b6e4 (diff) | |
download | FreeBSD-src-f739d87ace5b9b616e17b6724869893953283e61.zip FreeBSD-src-f739d87ace5b9b616e17b6724869893953283e61.tar.gz |
Use OBJDIR instead of CURDIR. This unbreaks loading modules through
'make load' if an object dir was, like it is used in /sys/modules. I.e.
cd /sys/modules/umass
make obj
make
make load
works again without having to install the module.
If no objdir was used the module in the current directory is used.
Diffstat (limited to 'sys')
-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 d73af89..f18110a 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -278,7 +278,7 @@ distribute: .if !target(load) load: ${PROG} - ${KMODLOAD} -v ${.CURDIR}/${KMOD}.ko + ${KMODLOAD} -v ${.OBJDIR}/${KMOD}.ko .endif .if !target(unload) |