HomeFreeBSD

Linux 6.10 compat: fix rpm-kmod and builtin

Description

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

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Aug 15 2024, 9:00 PM
Parents
rGce22dc2589e1: ZTS: Use /dev/urandom instead of /dev/random
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG9d64d1bfad30: Linux 6.10 compat: fix rpm-kmod and builtin (authored by Tony Hutter <hutter2@llnl.gov>).Aug 22 2024, 10:42 PM