Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/zfs/Makefile.inc
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
CFLAGS_EARLY.zfs_zstd.c+= ${ZFS_EARLY} | CFLAGS_EARLY.zfs_zstd.c+= ${ZFS_EARLY} | ||||
CFLAGS_EARLY.nvlist.c+= ${ZFS_EARLY} | CFLAGS_EARLY.nvlist.c+= ${ZFS_EARLY} | ||||
CFLAGS_EARLY.zfs.c += ${ZFS_EARLY} | CFLAGS_EARLY.zfs.c += ${ZFS_EARLY} | ||||
# | # | ||||
# zfs.c is special: we need to define HAS_ZSTD_ZFS to get zfssubr.c to initialize zstd | # zfs.c is special: we need to define HAS_ZSTD_ZFS to get zfssubr.c to initialize zstd | ||||
# properly. We need to have the cddl boot compat directory in the include path for zfssubr.c | # properly. We need to have the cddl boot compat directory in the include path for zfssubr.c | ||||
# to be found, and we need a couple of other include paths for skein and lz4. Finally we | # to be found, and we need a couple of other include paths for skein and lz4. Finally we | ||||
# temporarily need LDRSRC to pick up disk.h until that layering violation is corrected. | # temporarily need LDRSRC to pick up part.h until libsa has a way to look into partitions | ||||
# or enumerate them... | |||||
# | # | ||||
CFLAGS.zfs.c+= -DHAS_ZSTD_ZFS \ | CFLAGS.zfs.c+= -DHAS_ZSTD_ZFS \ | ||||
-I${SYSDIR}/cddl/boot/zfs \ | -I${SYSDIR}/cddl/boot/zfs \ | ||||
-I${LDRSRC} \ | -I${LDRSRC} \ | ||||
-I${SYSDIR}/crypto/skein \ | -I${SYSDIR}/crypto/skein \ | ||||
-I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | ||||
# | # | ||||
Show All 15 Lines |