Date: Sun, 8 Nov 2015 00:50:10 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290524 - in head: share/mk sys/conf Message-ID: <201511080050.tA80oAkW048301@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sun Nov 8 00:50:09 2015 New Revision: 290524 URL: https://svnweb.freebsd.org/changeset/base/290524 Log: FAST_DEPEND: Don't include depend files when using 'make -V'. This is especially noticeable in the kernel obj directory since it includes so many files. X-MFC-With: r290433 MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.dep.mk head/sys/conf/kern.post.mk Modified: head/share/mk/bsd.dep.mk ============================================================================== --- head/share/mk/bsd.dep.mk Sun Nov 8 00:50:06 2015 (r290523) +++ head/share/mk/bsd.dep.mk Sun Nov 8 00:50:09 2015 (r290524) @@ -62,7 +62,9 @@ DEPEND_CFLAGS+= -MT${.TARGET} CFLAGS+= ${DEPEND_CFLAGS} DEPENDOBJS+= ${OBJS} ${POBJS} ${SOBJS} .for __obj in ${DEPENDOBJS:O:u} +.if ${.MAKEFLAGS:M-V} == "" .sinclude "${DEPENDFILE}.${__obj}" +.endif DEPENDFILES_OBJS+= ${DEPENDFILE}.${__obj} .endfor .endif # ${MK_FAST_DEPEND} == "yes" Modified: head/sys/conf/kern.post.mk ============================================================================== --- head/sys/conf/kern.post.mk Sun Nov 8 00:50:06 2015 (r290523) +++ head/sys/conf/kern.post.mk Sun Nov 8 00:50:09 2015 (r290524) @@ -206,7 +206,9 @@ DEPEND_CFLAGS+= -MT${.TARGET} CFLAGS+= ${DEPEND_CFLAGS} DEPENDOBJS+= ${SYSTEM_OBJS} .for __obj in ${DEPENDOBJS:O:u} +.if ${.MAKEFLAGS:M-V} == "" .sinclude ".depend.${__obj}" +.endif DEPENDFILES_OBJS+= .depend.${__obj} .endfor .endif # ${MK_FAST_DEPEND} == "yes"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511080050.tA80oAkW048301>