summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-12-03 23:43:02 +0000
committerbrooks <brooks@FreeBSD.org>2004-12-03 23:43:02 +0000
commitca26eca762539cd958a49dbc643ce099b32b261f (patch)
tree7aee9ad001f2e88c0d98ab72bf1c123df233f713 /sys/modules
parent7a77ca68a3bc488b94546d72f05bb672bafc63b2 (diff)
downloadFreeBSD-src-ca26eca762539cd958a49dbc643ce099b32b261f.zip
FreeBSD-src-ca26eca762539cd958a49dbc643ce099b32b261f.tar.gz
kmod.mk knows how to create empty opt_*.h files so let it deal with the
NOINET6 case. Reported by: ru
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/if_gif/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 8f61b78..e934f5b 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -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:
OpenPOWER on IntegriCloud