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>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"