mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
a55d4ddd20
commit
3cccdc9d58
2 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue