summaryrefslogtreecommitdiffstats
path: root/sys/modules/nandsim
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-07-03 01:50:26 +0000
committerimp <imp@FreeBSD.org>2015-07-03 01:50:26 +0000
commitc87b25b2aee2d801db357c84a87615abb19eb991 (patch)
tree9febe357eccabb1730a0eeb9c005444d457a9b5f /sys/modules/nandsim
parent49665ccf8436f3b237a1238ba6d27222ff11f628 (diff)
downloadFreeBSD-src-c87b25b2aee2d801db357c84a87615abb19eb991.zip
FreeBSD-src-c87b25b2aee2d801db357c84a87615abb19eb991.tar.gz
Kill MFILES and find things automatically. It turned out to be only
lightly used. Find the proper .m file when we depend on *_if.[ch] in the srcs line, with seat-belts for false positive matches. This uses make's path mechanism. A further refinement would be to calculate this once, and then pass the resulting _MPATH to modules submakes. Differential Revision: https://reviews.freebsd.org/D2327
Diffstat (limited to 'sys/modules/nandsim')
-rw-r--r--sys/modules/nandsim/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/modules/nandsim/Makefile b/sys/modules/nandsim/Makefile
index 1dc9501..0a729eb 100644
--- a/sys/modules/nandsim/Makefile
+++ b/sys/modules/nandsim/Makefile
@@ -5,7 +5,5 @@
KMOD= nandsim
SRCS= nandsim.c nandsim_chip.c nandsim_swap.c nandsim_ctrl.c nandsim_log.c\
bus_if.h device_if.h vnode_if.h nfc_if.h nand_if.h
-MFILES= kern/bus_if.m kern/device_if.m\
- dev/nand/nfc_if.m dev/nand/nand_if.m
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud