From c87b25b2aee2d801db357c84a87615abb19eb991 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 3 Jul 2015 01:50:26 +0000 Subject: 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 --- sys/modules/nandsim/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/modules/nandsim') 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 -- cgit v1.1