A Alvin Le Member Jan 12, 2022 #1 How do I create a Linux module? Answer The command to build an external module is: $ make -C <path_to_kernel_src> M=$PWD. $ make -C /lib/modules/`uname -r`/build M=$PWD. $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install.
How do I create a Linux module? Answer The command to build an external module is: $ make -C <path_to_kernel_src> M=$PWD. $ make -C /lib/modules/`uname -r`/build M=$PWD. $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install.