mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
For llvm/clang libraries, skip including tablegen-produced .d files when
the target is "make depend". This works around errors during incremental make depend of some clang libraries, for example "don't know how to make contrib/llvm/include/llvm/IR/IntrinsicsR600.td". Reported by: emaste
This commit is contained in:
parent
f44fc79d0b
commit
9a2f5539ec
1 changed files with 5 additions and 3 deletions
|
|
@ -247,9 +247,11 @@ Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
|
|||
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
|
||||
|
||||
.for dep in ${TGHDRS:C/$/.inc.d/}
|
||||
. sinclude "${dep}"
|
||||
.endfor
|
||||
.if !make(depend)
|
||||
. for dep in ${TGHDRS:C/$/.inc.d/}
|
||||
. sinclude "${dep}"
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
SRCS+= ${TGHDRS:C/$/.inc.h/}
|
||||
DPSRCS+= ${TGHDRS:C/$/.inc.h/}
|
||||
|
|
|
|||
Loading…
Reference in a new issue