f06c961ee3
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
13 lines
206 B
Makefile
13 lines
206 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../loader
|
|
|
|
LOADER= zfsloader
|
|
NEWVERSWHAT= "ZFS enabled bootstrap loader" i386
|
|
LOADER_ZFS_SUPPORT=yes
|
|
LOADER_ONLY= yes
|
|
NO_MAN= yes
|
|
|
|
.include "${.CURDIR}/../loader/Makefile"
|
|
|