kmod.mk knows how to create empty opt_*.h files so let it deal with the

NOINET6 case.

Reported by:	ru
This commit is contained in:
Brooks Davis 2004-12-03 23:43:02 +00:00
parent 6c12df5a19
commit 76d5d30105
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138364

View File

@ -12,11 +12,9 @@ SRCS+= in6_gif.c
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
opt_inet6.h:
.if !defined(NOINET6)
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.else
echo "" > ${.TARGET}
.endif
opt_mrouting.h: