mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
rescue: include ping iff at least one of INET & INET6 is enabled
Ping does not build (and serves no purpose) if neither is enabled (i.e., building WITHOUT_INET and WITHOUT_INET6). This is equvalent toa4ef9e58bcbut for rescue/. PR: 260082 Fixes:a4ef9e58bc("sbin: build ping if at least one of...") Sponsored by: The FreeBSD Foundation
This commit is contained in:
1 parent
881059955a
commit
daf481f3d5
1 file changed
+5
-1
@@ -99,7 +99,7 @@ CRUNCH_PROGS_sbin= \
|
||||
md5 mdconfig mdmfs mknod mount mount_cd9660 \
|
||||
mount_msdosfs mount_nfs mount_nullfs \
|
||||
mount_udf mount_unionfs newfs \
|
||||
newfs_msdos nos-tun ping reboot \
|
||||
newfs_msdos nos-tun reboot \
|
||||
restore rcorder route savecore \
|
||||
shutdown swapon sysctl tunefs umount
|
||||
|
||||
@@ -107,6 +107,10 @@ CRUNCH_PROGS_sbin= \
|
||||
CRUNCH_PROGS_sbin+= ccdconfig
|
||||
.endif
|
||||
|
||||
.if ${MK_INET} != "no" || ${MK_INET6} != "no"
|
||||
CRUNCH_PROGS_sbin+= ping
|
||||
.endif
|
||||
|
||||
.if ${MK_INET6_SUPPORT} != "no"
|
||||
CRUNCH_ALIAS_ping= ping6
|
||||
CRUNCH_PROGS_sbin+= rtsol
|
||||
|
||||
Reference in new issue
Block a user