Author: imp
Date: Sat Mar 17 17:18:37 2018
New Revision: 331100
URL: https://svnweb.freebsd.org/changeset/base/331100

Log:
  Remove commented out code to generate opt_inet*.h. That's handled
  automatically by kern.opts.mk now. Include that instead.

Modified:
  head/sys/modules/netgraph/checksum/Makefile

Modified: head/sys/modules/netgraph/checksum/Makefile
==============================================================================
--- head/sys/modules/netgraph/checksum/Makefile Sat Mar 17 17:18:29 2018        
(r331099)
+++ head/sys/modules/netgraph/checksum/Makefile Sat Mar 17 17:18:37 2018        
(r331100)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to