Fixup option handling after r293778 by wrapping MK_INET6_SUPPORT in a

KERNBUILDDIR check.

Sponsored by:	Limelight Networks
This commit is contained in:
sbruno 2016-01-14 17:44:45 +00:00
parent a4c78b9798
commit 37723b87dd

View File

@ -17,7 +17,9 @@ OPT_INET!= cat ${KERNBUILDDIR}/opt_inet.h; echo
.if empty(OPT_INET)
MK_INET_SUPPORT= no
.endif
.endif
.if !defined(KERNBUILDDIR)
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}