mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
1719886f6d
Notable upstream pull request merges: #1578490ba19eb7b
Do no use .cfi_negate_ra_state within the assembly on Arm64 #15942b6bbaa8372
Give a better message from 'zpool get' with invalid pool name #15943ca678bc0bc
Makefile.bsd: sort and cleanup source file list #15953fa480fe5ba
zinject: show more device fault fields #1598330c4eba4ea
Fix panics when truncating/deleting files #1599299741bde59
zvol: use multiple taskq #16015a100a195fa
Add support for zfs mount -R <filesystem> #160225e5fd0a178
Speculative prefetch for reordered requests #16040997f85b4d3
L2ARC: Relax locking during write #16042b12738182c
Improve dbuf_read() error reporting #16051a9a4290173
xdr: header cleanup #16052eeca9a91d6
Fix read errors race after block cloning #16057aa5445c28b
Remove db_state DB_NOFILL checks from syncing context #1606176d1dde94c
zinject: inject device errors into ioctls #160729e63631dea
Small fix to prefetch ranges aggregation #1607744f337be30
Illumos#16463 zfs_ioc_recv leaks nvlist #160854725e543be
zinject: "no-op" error injection #16086c6da985e28
Add the BTI elf note to the AArch64 SHA2 assembly Obtained from: OpenZFS OpenZFS commit:90ba19eb7b
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
subst_sed_cmd = \
|
|
-e 's|@abs_top_srcdir[@]|$(abs_top_srcdir)|g' \
|
|
-e 's|@bindir[@]|$(bindir)|g' \
|
|
-e 's|@datadir[@]|$(datadir)|g' \
|
|
-e 's|@initconfdir[@]|$(initconfdir)|g' \
|
|
-e 's|@initdir[@]|$(initdir)|g' \
|
|
-e 's|@mounthelperdir[@]|$(mounthelperdir)|g' \
|
|
-e 's|@pammoduledir[@]|$(pammoduledir)|g' \
|
|
-e 's|@runstatedir[@]|$(runstatedir)|g' \
|
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
-e 's|@systemdgeneratordir[@]|$(systemdgeneratordir)|g' \
|
|
-e 's|@systemdunitdir[@]|$(systemdunitdir)|g' \
|
|
-e 's|@udevdir[@]|$(udevdir)|g' \
|
|
-e 's|@udevruledir[@]|$(udevruledir)|g' \
|
|
-e 's|@zfsexecdir[@]|$(zfsexecdir)|g' \
|
|
\
|
|
-e 's|@ASAN_ENABLED[@]|$(ASAN_ENABLED)|g' \
|
|
-e 's|@DEFAULT_INIT_NFS_SERVER[@]|$(DEFAULT_INIT_NFS_SERVER)|g' \
|
|
-e 's|@DEFAULT_INIT_SHELL[@]|$(DEFAULT_INIT_SHELL)|g' \
|
|
-e 's|@IS_SYSV_RC[@]|$(IS_SYSV_RC)|g' \
|
|
-e 's|@LIBFETCH_DYNAMIC[@]|$(LIBFETCH_DYNAMIC)|g' \
|
|
-e 's|@LIBFETCH_SONAME[@]|$(LIBFETCH_SONAME)|g' \
|
|
-e 's|@PYTHON[@]|$(PYTHON)|g' \
|
|
-e 's|@PYTHON_SHEBANG[@]|$(PYTHON_SHEBANG)|g' \
|
|
-e 's|@UBSAN_ENABLED[@]|$(UBSAN_ENABLED)|g' \
|
|
-e 's|@VERSION[@]|$(VERSION)|g'
|
|
|
|
define SUBST
|
|
$(1) : $(2)$(1).in Makefile;
|
|
$$(AM_V_GEN)set -e; \
|
|
$$(MKDIR_P) $$(@D); \
|
|
$$(RM) $$@~; \
|
|
$$(SED) $$(subst_sed_cmd) $$< >$$@~; \
|
|
if grep -E '@[a-zA-Z0-9_]+@' $$@~ >&2; then \
|
|
echo "Undefined substitution" >&2; \
|
|
exit 1; \
|
|
fi; \
|
|
[ -x $$< ] && chmod +x $$@~; \
|
|
mv -f $$@~ $$@
|
|
endef
|
|
|
|
SUBSTFILES =
|
|
CLEANFILES += $(SUBSTFILES)
|
|
dist_noinst_DATA += $(SUBSTFILES:=.in)
|
|
|
|
$(SUBSTFILES): $(call SUBST,%,)
|