summaryrefslogtreecommitdiffstats
path: root/sys/boot/Makefile
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-11-23 16:00:16 +0000
committerrnoland <rnoland@FreeBSD.org>2009-11-23 16:00:16 +0000
commit396246bb32eb9a9a68bbe890fc9487b2da481295 (patch)
tree1b33b3845169c1e266700990c19faedb2cb8a328 /sys/boot/Makefile
parent907e9240f27eb700a2ec22013031266eddcb0cd5 (diff)
downloadFreeBSD-src-396246bb32eb9a9a68bbe890fc9487b2da481295.zip
FreeBSD-src-396246bb32eb9a9a68bbe890fc9487b2da481295.tar.gz
Create a seperate ZFS enabled loader.
This adds zfsloader which will be called by zfsboot/gptzfsboot code rather than the tradional loader. This eliminates the need to set the LOADER_ZFS_SUPPORT variable in order to get a ZFS enabled loader. Note however, that you must reinstall your bootcode (zfsboot/gptzfsboot) in order for the boot process to use the new loader. New installations will no longer be required to build a ZFS enabled loader for a working ZFS boot system. Installing zfsboot/gptzfsboot is sufficient for acknowledging the use of CDDL code and therefore the ZFS enabled loader. Based on a previous patch from jhb@ Reviewed by: jhb@ MFC after: 2 weeks
Diffstat (limited to 'sys/boot/Makefile')
-rw-r--r--sys/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 02c767d..056dc68 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -22,7 +22,7 @@ SUBDIR+= ofw
SUBDIR+= uboot
.endif
-.if defined(LOADER_ZFS_SUPPORT)
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386"
SUBDIR+= zfs
.endif
OpenPOWER on IntegriCloud