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
This commit is contained in:
parent
017777b0fc
commit
3406f5f6a5
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user