Remove commented out code to generate opt_inet*.h. That's handled

automatically by kern.opts.mk now. Include that instead.
This commit is contained in:
Warner Losh 2018-03-17 17:18:37 +00:00
parent 4dcef3bca1
commit d4dccac09a

View File

@ -1,20 +1,9 @@
# $FreeBSD$
.include <bsd.own.mk>
SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
KMOD= ng_checksum
SRCS= ng_checksum.c opt_inet.h opt_inet6.h
#.if !defined(KERNBUILDDIR)
#
#.if ${MK_INET_SUPPORT} != "no"
#opt_inet.h:
# echo "#define INET 1" > ${.TARGET}
#.endif
#.if ${MK_INET6_SUPPORT} != "no"
#opt_inet6.h:
# echo "#define INET6 1" > ${.TARGET}
#.endif
#.endif
.include <bsd.kmod.mk>