aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-12-30 17:42:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-12-30 17:42:41 +0000
commit58f48e4ba685d068fad50e9c5eb9cefd6974e3a8 (patch)
treed0f377cbeb6a81e860474e6edfde01a923fefcb1 /sys/boot
parent694faf6751058a68851e1a2c29fc90933b09854c (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>