New comment by Piraty on void-packages repository https://github.com/void-linux/void-packages/issues/26257#issuecomment-725351143 Comment: ah now i realize what your issue is: building your module manually take a look here at why modpost is not build with `make scripts` target. (complain upstream :D): https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de