Skip to content

Commit 0e0f7ca

Browse files
committed
zfs-module: disable separate build directory
ZFS can't compile in a separate build directory on newer kernels, which I hit when building Linux 6.12. The problem is described in [1] and fixed in [2] but that fix is already present in 2.3.4 and the problem still persists in Yocto builds. I don't know what's wrong, it seems to be an issue deep in the guts of Kbuild, but building in-tree (${S} == ${B}) seems to work so just do that. [1] openzfs/zfs#17321 [2] openzfs/zfs#17517
1 parent 8e7baa0 commit 0e0f7ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recipes-filesystems/openzfs/zfs-module_git.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require openzfs.inc
22

33
SUMMARY = "OpenZFS for Linux"
44

5-
inherit autotools module python3native pkgconfig
5+
inherit autotools-brokensep module python3native pkgconfig
66

77
# OpenZFS builds kernel modules using autoconf. It's both clever and cursed.
88
EXTRA_OECONF = " \

0 commit comments

Comments
 (0)