mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Notable upstream pull request merges: #1594041ae864b6Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN #161285137c132azpool import output is not formated properly #16138efbef9e6cFreeBSD: Add zfs_link_create() error handling #1614604bae5ec9Disable high priority ZIO threads on FreeBSD and Linux #16151cc3869153zfs_ioc_send: use a dedicated taskq thread for send #16151adda768e3spa: remove spa_taskq_dispatch_sync() #16151515c4dd21spa: flatten spa_taskq_dispatch_ent() #161510a543db37spa_taskq_dispatch_ent: simplify arguments #16153975a13259Add support for parallel pool exports #1615389acef992Simplified the scope of the namespace lock #16159136c05321ZAP: Fix leaf references on zap_expand_leaf() errors #16162af5dbed31Fix scn_queue races on very old pools #161653400127a7Fix ZIL clone records for legacy holes #16167414acbd37Unbreak FreeBSD cross-build on MacOS broken in051460b8b#16172eced2e2f1libzfs: Fix mounting datasets under thread limit pressure #16178b64afa41dBetter control the thread pool size when mounting datasets #16181fa99d9cd9zfs_dbgmsg_print: make FreeBSD and Linux consistent #16191e675852bcdbuf: separate refcount calls for dbuf and dbuf_user #16198a043b60f1Correct level handling in zstream recompress #1620434906f8bbzap: reuse zap_leaf_t on dbuf reuse after shrink #16206d0aa9dbccUse memset to zero stack allocations containing unions #162078865dfbcaFix assertion in Persistent L2ARC #1620808648cf0dAllow block cloning to be interrupted by a signal #16210e2357561bFreeBSD: Add const qualifier to members of struct opensolaris_utsname #16214800d59d57Some improvements to metaslabs eviction #1621602c5aa9b0Destroy ARC buffer in case of fill error #1622501c8efdd5Simplify issig() Obtained from: OpenZFS OpenZFS commit:e2357561b9
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
|
|
.include <bsd.init.mk>
|
|
.include <bsd.compiler.mk>
|
|
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
|
|
|
LIB= spl
|
|
LIBADD=
|
|
PACKAGE= zfs
|
|
|
|
SRCS = \
|
|
assert.c \
|
|
backtrace.c \
|
|
list.c \
|
|
mkdirp.c \
|
|
os/freebsd/zone.c \
|
|
page.c \
|
|
timestamp.c \
|
|
include/sys/list.h \
|
|
include/sys/list_impl.h
|
|
|
|
# These functions are not required when bootstrapping and the atomic code
|
|
# will not compile when building on macOS.
|
|
.if !defined(BOOTSTRAPPING)
|
|
SRCS += \
|
|
atomic.c \
|
|
getexecname.c \
|
|
os/freebsd/getexecname.c \
|
|
os/freebsd/gethostid.c \
|
|
os/freebsd/getmntany.c \
|
|
os/freebsd/mnttab.c
|
|
.endif
|
|
|
|
WARNS?= 2
|
|
CSTD= c99
|
|
CFLAGS+= -DIN_BASE
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
CFLAGS.atomic.c+= -Wno-error=atomic-alignment
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|