Make pf* modules respect NOINET6 from make.conf(5) in order to build them
for INET6-less kernel. Requested by: many Approved by: bms(mentor)
This commit is contained in:
parent
e1ece6d1eb
commit
1ffe5d762b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127946
@ -19,7 +19,11 @@ opt_inet.h:
|
||||
echo "#define INET 1" > opt_inet.h
|
||||
|
||||
opt_inet6.h:
|
||||
.if defined(NOINET6)
|
||||
echo > opt_inet6.h
|
||||
.else
|
||||
echo "#define INET6 1" > opt_inet6.h
|
||||
.endif
|
||||
|
||||
opt_bpf.h:
|
||||
echo "#define DEV_BPF 1" > opt_bpf.h
|
||||
|
@ -17,7 +17,11 @@ opt_inet.h:
|
||||
echo "#define INET 1" > opt_inet.h
|
||||
|
||||
opt_inet6.h:
|
||||
.if defined(NOINET6)
|
||||
echo > opt_inet6.h
|
||||
.else
|
||||
echo "#define INET6 1" > opt_inet6.h
|
||||
.endif
|
||||
|
||||
opt_bpf.h:
|
||||
echo "#define DEV_BPF 1" > opt_bpf.h
|
||||
|
@ -17,7 +17,11 @@ opt_inet.h:
|
||||
echo "#define INET 1" > opt_inet.h
|
||||
|
||||
opt_inet6.h:
|
||||
.if defined(NOINET6)
|
||||
echo > opt_inet6.h
|
||||
.else
|
||||
echo "#define INET6 1" > opt_inet6.h
|
||||
.endif
|
||||
|
||||
opt_bpf.h:
|
||||
echo "#define DEV_BPF 1" > opt_bpf.h
|
||||
|
Loading…
Reference in New Issue
Block a user