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:
green 2003-11-16 07:50:14 +00:00
parent a79f1dd547
commit 712f69cd3e

View File

@ -80,7 +80,9 @@ CFLAGS+= -DKLD_MODULE
_ICFLAGS:= ${CFLAGS:M-I*} _ICFLAGS:= ${CFLAGS:M-I*}
CFLAGS+= -nostdinc -I- ${INCLMAGIC} ${_ICFLAGS} CFLAGS+= -nostdinc -I- ${INCLMAGIC} ${_ICFLAGS}
.if defined(KERNBUILDDIR) .if defined(KERNBUILDDIR)
CFLAGS+= -include ${KERNBUILDDIR}/opt_global.h .for _optfile in global ddb
CFLAGS+= -include ${KERNBUILDDIR}/opt_${_optfile}.h
.endfor
.endif .endif
# Add -I paths for system headers. Individual KLD makefiles don't # Add -I paths for system headers. Individual KLD makefiles don't