mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
OpenZFS release 2.2.1 Notable upstream pull request merges: #143786d693e20aLarge sync writes perform worse with slog #1524378fd79eacAdd zfs_prepare_disk script for disk firmware install #15356b76724ae4FreeBSD: Improve taskq wrapper #15360f9a9aea12Add mutex_enter_interruptible() for interruptible sleeping IOCTLs #15371e82e68400DMU: Do not pre-read holes during write #1539079f7de575Remove lock from dsl_pool_need_dirty_delay() #153976e41aca51Trust ARC_BUF_SHARED() more #15402eaa62d995Properly pad struct tx_cpu to cache line #154051cc1bf4faSet spa_ccw_fail_time=0 when expanding a vdev #15416edebca5dfFreeBSD: taskq: Remove unused declaration #154517aef672b7Read prefetched buffers from L2ARC #15452bd7a02c25Tune zio buffer caches and their alignments #154563ec4ea68dUnify arc_prune_async() code #15465459c99ff2Fix block cloning between unencrypted and encrypted datasets #1547876663fe37Fix accounting error for pending sync IO ops in zpool iostat #1552987e9e8286Add a tunable to disable BRT support Obtained from: OpenZFS OpenZFS commit:55dd24c4ccOpenZFS tag: zfs-2.2.1
97 lines
2.9 KiB
Makefile
97 lines
2.9 KiB
Makefile
scriptsdir = $(datadir)/$(PACKAGE)
|
|
dist_noinst_SCRIPTS = \
|
|
%D%/commitcheck.sh \
|
|
%D%/common.sh.in \
|
|
%D%/dkms.mkconf \
|
|
%D%/dkms.postbuild \
|
|
%D%/kmodtool \
|
|
%D%/make_gitrev.sh \
|
|
%D%/man-dates.sh \
|
|
%D%/mancheck.sh \
|
|
%D%/paxcheck.sh \
|
|
%D%/zfs-tests-color.sh
|
|
|
|
scripts_scripts = \
|
|
%D%/zfs-helpers.sh \
|
|
%D%/zfs-tests.sh \
|
|
%D%/zfs.sh \
|
|
%D%/zimport.sh \
|
|
%D%/zloop.sh
|
|
|
|
if CONFIG_USER
|
|
dist_scripts_SCRIPTS = $(scripts_scripts)
|
|
dist_zfsexec_SCRIPTS = \
|
|
%D%/zfs_prepare_disk
|
|
else
|
|
dist_noinst_SCRIPTS += $(scripts_scripts)
|
|
endif
|
|
|
|
dist_noinst_DATA += \
|
|
%D%/cstyle.pl \
|
|
%D%/enum-extract.pl \
|
|
%D%/update_authors.pl \
|
|
%D%/zfs2zol-patch.sed \
|
|
%D%/zol2zfs-patch.sed
|
|
|
|
SHELLCHECKSCRIPTS += $(dist_scripts_SCRIPTS) $(dist_noinst_SCRIPTS)
|
|
|
|
define SCRIPTS_EXTRA_ENVIRONMENT
|
|
|
|
# Only required for in-tree use
|
|
export INTREE="yes"
|
|
export GDB="libtool --mode=execute gdb"
|
|
export LDMOD=/sbin/insmod
|
|
|
|
export CMD_DIR=$(abs_top_builddir)
|
|
export UDEV_SCRIPT_DIR=$(abs_top_srcdir)/udev
|
|
export UDEV_CMD_DIR=$(abs_top_builddir)/udev
|
|
export UDEV_RULE_DIR=$(abs_top_builddir)/udev/rules.d
|
|
export ZEDLET_ETC_DIR=$$CMD_DIR/cmd/zed/zed.d
|
|
export ZEDLET_LIBEXEC_DIR=$$CMD_DIR/cmd/zed/zed.d
|
|
export ZPOOL_SCRIPT_DIR=$$CMD_DIR/cmd/zpool/zpool.d
|
|
export ZPOOL_SCRIPTS_PATH=$$CMD_DIR/cmd/zpool/zpool.d
|
|
export ZPOOL_COMPAT_DIR=$$CMD_DIR/cmd/zpool/compatibility.d
|
|
export CONTRIB_DIR=$(abs_top_builddir)/contrib
|
|
export LIB_DIR=$(abs_top_builddir)/.libs
|
|
export SYSCONF_DIR=$(abs_top_builddir)/etc
|
|
|
|
export INSTALL_UDEV_DIR=$(udevdir)
|
|
export INSTALL_UDEV_RULE_DIR=$(udevruledir)
|
|
export INSTALL_MOUNT_HELPER_DIR=$(mounthelperdir)
|
|
export INSTALL_SYSCONF_DIR=$(sysconfdir)
|
|
export INSTALL_PYTHON_DIR=$(pythonsitedir)
|
|
|
|
export KMOD_SPL=$(abs_top_builddir)/module/spl.ko
|
|
export KMOD_ZFS=$(abs_top_builddir)/module/zfs.ko
|
|
export KMOD_FREEBSD=$(abs_top_builddir)/module/openzfs.ko
|
|
endef
|
|
|
|
export SCRIPTS_EXTRA_ENVIRONMENT
|
|
|
|
CLEANFILES += %D%/common.sh
|
|
%D%/common.sh: %D%/common.sh.in Makefile
|
|
-$(AM_V_at)$(MKDIR_P) $(@D)
|
|
-$(AM_V_GEN)$(SED) -e '/^export BIN_DIR=/s|$$|$(abs_top_builddir)/tests/zfs-tests/bin|' \
|
|
-e '/^export SBIN_DIR=/s|$$|$(abs_top_builddir)|' \
|
|
-e '/^export LIBEXEC_DIR=/s|$$|$(abs_top_builddir)|' \
|
|
-e '/^export ZTS_DIR=/s|$$|$(abs_top_srcdir)/tests|' \
|
|
-e '/^export SCRIPT_DIR=/s|$$|$(abs_top_srcdir)/scripts|' \
|
|
$< >$@
|
|
-$(AM_V_at)echo "$$SCRIPTS_EXTRA_ENVIRONMENT" >>$@
|
|
|
|
ALL_LOCAL += scripts-all-local
|
|
scripts-all-local: %D%/common.sh
|
|
-SCRIPT_COMMON=$< $(srcdir)/%D%/zfs-tests.sh -c
|
|
|
|
CLEAN_LOCAL += scripts-clean-local
|
|
scripts-clean-local:
|
|
-$(RM) -r tests/zfs-tests/bin/
|
|
|
|
INSTALL_DATA_HOOKS += scripts-install-data-hook
|
|
scripts-install-data-hook: %D%/common.sh.in Makefile
|
|
-$(SED) -e '/^export BIN_DIR=/s|$$|$(bindir)|' \
|
|
-e '/^export SBIN_DIR=/s|$$|$(sbindir)|' \
|
|
-e '/^export LIBEXEC_DIR=/s|$$|$(zfsexecdir)|' \
|
|
-e '/^export ZTS_DIR=/s|$$|$(datadir)/$(PACKAGE)|' \
|
|
-e '/^export SCRIPT_DIR=/s|$$|$(datadir)/$(PACKAGE)|' \
|
|
$< >$(DESTDIR)$(datadir)/$(PACKAGE)/common.sh
|