From 58f48e4ba685d068fad50e9c5eb9cefd6974e3a8 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 30 Dec 2009 17:42:41 +0000 Subject: MFC 200872: Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled. --- sys/boot/i386/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'sys/boot') diff --git a/sys/boot/i386/Makefile b/sys/boot/i386/Makefile index 789722cae95c..3c05759fcf09 100644 --- a/sys/boot/i386/Makefile +++ b/sys/boot/i386/Makefile @@ -1,9 +1,15 @@ # $FreeBSD$ -SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot zfsboot \ - gptzfsboot kgzldr libi386 libfirewire loader zfsloader +.include + +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 -- cgit v1.3