aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-12-22 20:56:33 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-12-22 20:56:33 +0000
commitb677f368bbfaf39443e0ee3c9739cb5dfb6f9232 (patch)
tree1cf341ebae235700d1da958ac46a3cd7a18ce8f7 /sys/boot
parentaa166231339172e73daae468c5470026f1298cff (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/Makefile10
1 files changed, 8 insertions, 2 deletions
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 <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>