Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 20:56:33 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200872 - head/sys/boot/i386
Message-ID:  <200912222056.nBMKuXPD076367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Dec 22 20:56:33 2009
New Revision: 200872
URL: http://svn.freebsd.org/changeset/base/200872

Log:
  Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled.
  
  MFC after:	1 week

Modified:
  head/sys/boot/i386/Makefile

Modified: head/sys/boot/i386/Makefile
==============================================================================
--- head/sys/boot/i386/Makefile	Tue Dec 22 20:40:22 2009	(r200871)
+++ head/sys/boot/i386/Makefile	Tue Dec 22 20:56:33 2009	(r200872)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912222056.nBMKuXPD076367>