]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 6.10 compat: fix rpm-kmod and builtin
authorTony Hutter <hutter2@llnl.gov>
Thu, 15 Aug 2024 21:00:18 +0000 (14:00 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 21:00:18 +0000 (14:00 -0700)
commitf2f4ada240e3560faa721082c4a62dcb0cce0115
tree7f7e6dc930ac0ca7bc15b756d847cb22a1b21c5f
parent963e6c9f3ffc0bc767ca8b89549be595f29f9470
Linux 6.10 compat: fix rpm-kmod and builtin

The 6.10 kernel broke our rpm-kmod builds.  The 6.10 kernel really
wants the source files in the same directory as the object files.
This workaround makes rpm-kmod work again.  It also updates
the builtin kernel codepath to work correctly with 6.10.

See kernel commits:

b1992c3772e6 kbuild: use $(src) instead of $(srctree)/$(src) for source
                     directory
9a0ebe5011f4 kbuild: use $(obj)/ instead of $(src)/ for common pattern
                     rules

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #16439
Closes #16450
module/Kbuild.in
rpm/generic/zfs-kmod.spec.in