Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162714399
D4864.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
828 B
Referenced Files
None
Subscribers
None
D4864.diff
View Options
Index: sys/modules/if_gif/Makefile
===================================================================
--- sys/modules/if_gif/Makefile
+++ sys/modules/if_gif/Makefile
@@ -5,11 +5,18 @@
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
KMOD= if_gif
-SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
+SRCS= if_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
.if !defined(KERNBUILDDIR)
+.if ${MK_INET_SUPPORT} != "no"
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
+.endif
+.else
+OPT_INET!= cat ${KERNBUILDDIR}/opt_inet.h; echo
+.if empty(OPT_INET)
+MK_INET_SUPPORT= no
+.endif
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
@@ -25,6 +32,10 @@
.endif
.endif
+.if ${MK_INET_SUPPORT} != "no"
+SRCS+= in_gif.c
+.endif
+
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= in6_gif.c
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 17, 2:11 AM (7 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35155020
Default Alt Text
D4864.diff (828 B)
Attached To
Mode
D4864: Fix LINT-NOINET kernels
Attached
Detach File
Event Timeline
Log In to Comment