Well, that will complicate things a little. You need to copy `lsmod` to your build machine, then do what [1] describes. Also, you should use "$ make -j`nproc` deb-pkg`" to make a deb package, it's easier to move a deb package to another machine.
[1] https://unix.stackexchange.com/questions/253245/what-does-make-localmodconfig-do
Well, that will complicate things a little.
You need to copy `lsmod` to your build machine, then do what [1] describes.
Also, you should use "$ make -j`nproc` deb-pkg`" to make a deb package, it's easier to move a deb package to another machine.
[1] https:/ /unix.stackexch ange.com/ questions/ 253245/ what-does- make-localmodco nfig-do