mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
10 lines
139 B
Makefile
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>
|