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:
Max Laier 2004-04-06 15:12:50 +00:00
parent e1ece6d1eb
commit 1ffe5d762b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127946
3 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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