e499793e76
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
18 lines
475 B
Makefile
18 lines
475 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${ZFSSRC}
|
|
SRCS+= zfs.c skein.c skein_block.c list.c
|
|
# Do not unroll skein loops, reduce code size
|
|
CFLAGS+= -DSKEIN_LOOP=111
|
|
.PATH: ${SYSDIR}/crypto/skein
|
|
.PATH: ${SYSDIR}/cddl/contrib/opensolaris/uts/common/os
|
|
|
|
CFLAGS+= -I${LDRSRC}
|
|
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
|
|
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common
|
|
CFLAGS+= -I${SYSDIR}/crypto/skein
|
|
|
|
CFLAGS.zfs.c+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4
|
|
|
|
CFLAGS+= -Wformat -Wall
|