mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
4e8fc5c539
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
11 lines
134 B
Makefile
11 lines
134 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
|
SUBDIR+= geli
|
|
.endif
|
|
.if ${MK_ZFS} != "no"
|
|
SUBDIR+= zfs
|
|
.endif
|
|
|
|
SUBDIR+= efi
|