Build mainline driver for another Kernel Version

Lucas Tanure tanure at linux.com
Wed May 17 04:16:45 EDT 2023


Hi,

Can I build a driver in the mainline kernel to a previous kernel version?

Like, in the mainline kernel, I have a Z driver, and I want to use
that driver for my current stable driver in my embedded system with
version kernel 5.15. Is there a procedure to build a kernel driver
against other specific kernel headers?

Thanks
Lucas



More information about the Kernelnewbies mailing list