mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix build after r336011
Add libnv to bootstrap-tools, use ${SRCTOP}/sys headers.
This commit is contained in:
parent
51c854f028
commit
f1e0a986a8
3 changed files with 12 additions and 3 deletions
|
|
@ -2063,6 +2063,15 @@ _kerberos5_bootstrap_tools= \
|
|||
.ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g}
|
||||
.endif
|
||||
|
||||
# Later config(8) requires newer libnv cnvlist* API
|
||||
.if ${BOOTSTRAPPING} < 1200070
|
||||
_config= \
|
||||
lib/libnv \
|
||||
usr.sbin/config
|
||||
.else
|
||||
_config= usr.sbin/config
|
||||
.endif
|
||||
|
||||
${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd
|
||||
|
||||
bootstrap-tools: .PHONY
|
||||
|
|
@ -2087,7 +2096,7 @@ bootstrap-tools: .PHONY
|
|||
${_lex} \
|
||||
usr.bin/xinstall \
|
||||
${_gensnmptree} \
|
||||
usr.sbin/config \
|
||||
${_config} \
|
||||
${_crunchide} \
|
||||
${_crunchgen} \
|
||||
${_nmtree} \
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ kernconf.c: kernconf.tmpl
|
|||
${FILE2C} 'char kernconfstr[] = {' ',0};' < \
|
||||
${SRCDIR}/kernconf.tmpl > kernconf.c
|
||||
|
||||
CFLAGS+= -I. -I${SRCDIR}
|
||||
CFLAGS+= -I. -I${SRCDIR} -I${SRCTOP}/sys
|
||||
|
||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ dump_nvlist(nvlist_t *nvl, FILE *ofp)
|
|||
fprintf(ofp, "\"%s=%s\\0\"\n", name,
|
||||
cnvlist_get_string(cookie));
|
||||
|
||||
cnvlist_free_string(nvl, cookie);
|
||||
cnvlist_free_string(cookie);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue