diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-12-04 04:27:21 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-12-04 04:27:21 +0000 |
commit | 3c9c5b15fc30c5b10cc870bc57441aafd8f101e1 (patch) | |
tree | a197192858983873da54a455891a70eca70c5fcc /sys/conf/kmod.mk | |
parent | d9ea698c7526b52018c54283a2236b5a237c89c9 (diff) | |
download | src-3c9c5b15fc30c5b10cc870bc57441aafd8f101e1.tar.gz src-3c9c5b15fc30c5b10cc870bc57441aafd8f101e1.zip |
Calculate MPATH for sys/modules to save 92% time in a basic 'obj' tree-walk.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=291744
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r-- | sys/conf/kmod.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 50d21bd3ec6d..203d6d76e7e6 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -370,8 +370,10 @@ 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 _MFILES=${__MPATH:T:O} _MPATH=${__MPATH:H:O:u} |