opnsense-src/sys/boot/sparc64/Makefile
Warner Losh 4e8fc5c539 Remove LOADER_ZFS_SUPPORT as a Makefile variable
LOADER_ZFS_SUPPORT is entirely used to select whether or not to
support ZFS in the loader. But it's not a user-servicable part (MK_ZFS
is what's used for that) Change it to the more conventional HAVE_ZFS
and move the ZFS support code into loader.mk. In addition, only build
ZFS libraries and boot loaders when ZFS is enabled.

Sponsored by: Netflix
2017-11-10 23:54:31 +00:00

10 lines
139 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
SUBDIR= boot1 loader
.if ${MK_ZFS} != "no"
SUBDIR+=zfsboot zfsloader
.endif
.include <bsd.subdir.mk>