Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled.

MFC after:	1 week
This commit is contained in:
John Baldwin 2009-12-22 20:56:33 +00:00
parent aa16623133
commit b677f368bb

View File

@ -1,9 +1,15 @@
# $FreeBSD$
SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot zfsboot \
gptzfsboot kgzldr libi386 libfirewire loader zfsloader
.include <bsd.own.mk>
SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot kgzldr \
libi386 libfirewire loader
# special boot programs, 'self-extracting boot2+loader'
SUBDIR+= pxeldr
.if ${MK_ZFS} != "no"
SUBDIR+= zfsboot gptzfsboot zfsloader
.endif
.include <bsd.subdir.mk>