aboutsummaryrefslogtreecommitdiff
path: root/stand/efi
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2019-11-02 12:28:04 +0000
committerToomas Soome <tsoome@FreeBSD.org>2019-11-02 12:28:04 +0000
commite499793e7625e9f272c04b4b705cb6af013a9231 (patch)
treeb2360eb245a23f6fb2ec4056bff89c60520123d6 /stand/efi
parent0060947db1d813b177fa5349a3b952b5790a99f5 (diff)
downloadsrc-e499793e7625e9f272c04b4b705cb6af013a9231.tar.gz
src-e499793e7625e9f272c04b4b705cb6af013a9231.zip
Remove duplicate lz4 implementations
Port illumos change: https://www.illumos.org/issues/11667 Move lz4.c out of zfs tree to opensolaris/common/lz4, adjust it to be usable from kernel/stand/userland builds, so we can use just one single source. Add lz4.h to declare lz4_compress() and lz4_decompress(). MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D22037
Notes
Notes: svn path=/head/; revision=354253
Diffstat (limited to 'stand/efi')
-rw-r--r--stand/efi/boot1/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile
index 818f76104bdb..56a3eb028993 100644
--- a/stand/efi/boot1/Makefile
+++ b/stand/efi/boot1/Makefile
@@ -37,6 +37,7 @@ CFLAGS.zfs_module.c+= -I${ZFSSRC}
CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein
CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common
+CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/contrib/opensolaris/common/lz4
CFLAGS+= -DEFI_ZFS_BOOT
.endif