diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2019-11-02 12:28:04 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2019-11-02 12:28:04 +0000 |
commit | e499793e7625e9f272c04b4b705cb6af013a9231 (patch) | |
tree | b2360eb245a23f6fb2ec4056bff89c60520123d6 /stand/i386/gptzfsboot/Makefile | |
parent | 0060947db1d813b177fa5349a3b952b5790a99f5 (diff) | |
download | src-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/i386/gptzfsboot/Makefile')
-rw-r--r-- | stand/i386/gptzfsboot/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/i386/gptzfsboot/Makefile b/stand/i386/gptzfsboot/Makefile index d5635ad3babe..b8b05978b1bd 100644 --- a/stand/i386/gptzfsboot/Makefile +++ b/stand/i386/gptzfsboot/Makefile @@ -29,6 +29,7 @@ CFLAGS+=-DBOOTPROG=\"gptzfsboot\" \ -I${SYSDIR}/crypto/skein \ -I${SYSDIR}/cddl/boot/zfs \ -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \ + -I${SYSDIR}/cddl/contrib/opensolaris/common/lz4 \ -I${BOOTSRC}/i386/btx/lib \ -I${BOOTSRC}/i386/boot2 \ -Wall -Waggregate-return -Wbad-function-cast \ |