It appears opt_global.h may cause opt_ddb.h to be needed. Adding it
with the full path on the command line like with -include opt_global.h currently unbreaks tinderbox.
This commit is contained in:
parent
a79f1dd547
commit
712f69cd3e
@ -80,7 +80,9 @@ CFLAGS+= -DKLD_MODULE
|
||||
_ICFLAGS:= ${CFLAGS:M-I*}
|
||||
CFLAGS+= -nostdinc -I- ${INCLMAGIC} ${_ICFLAGS}
|
||||
.if defined(KERNBUILDDIR)
|
||||
CFLAGS+= -include ${KERNBUILDDIR}/opt_global.h
|
||||
.for _optfile in global ddb
|
||||
CFLAGS+= -include ${KERNBUILDDIR}/opt_${_optfile}.h
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
# Add -I paths for system headers. Individual KLD makefiles don't
|
||||
|
Loading…
x
Reference in New Issue
Block a user