summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.kmod.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-05-31 23:08:43 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-05-31 23:08:43 +0000
commit31fcbcd3005b629a754aeeab5538b215de12e4c6 (patch)
tree552dbcdf71b9bca3d013262345f244c477af9a8e /share/mk/bsd.kmod.mk
parent6c2e87562904ce1adecc0d9a28af84e08dc1cf4d (diff)
downloadFreeBSD-src-31fcbcd3005b629a754aeeab5538b215de12e4c6.zip
FreeBSD-src-31fcbcd3005b629a754aeeab5538b215de12e4c6.tar.gz
WITH_META_MODE: Resolve SYSDIR to avoid changed build commands.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk/bsd.kmod.mk')
-rw-r--r--share/mk/bsd.kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index 09ac8e3..d0ac48b 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -4,7 +4,7 @@
.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. \
${.CURDIR}/../../../../.. /sys /usr/src/sys
.if !defined(SYSDIR) && exists(${_dir}/kern/) && exists(${_dir}/conf/kmod.mk)
-SYSDIR= ${_dir}
+SYSDIR= ${_dir:tA}
.endif
.endfor
.if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \
OpenPOWER on IntegriCloud