summaryrefslogtreecommitdiffstats
path: root/sys/conf/kmod.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r--sys/conf/kmod.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 10b7ded..6a3e1eb 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -386,11 +386,7 @@ vnode_if_typedef.h:
.endif
# Build _if.[ch] from _if.m, and clean them when we're done.
-# This is duplicated in sys/modules/Makefile.
-.if !defined(__MPATH)
-__MPATH!=find ${SYSDIR:tA}/ -name \*_if.m
-.export __MPATH
-.endif
+# __MPATH defined in config.mk
_MFILES=${__MPATH:T:O}
_MPATH=${__MPATH:H:O:u}
.PATH.m: ${_MPATH}
OpenPOWER on IntegriCloud