Home:ALL Converter>How to compile Linux kernel module without kernel Makefile?

How to compile Linux kernel module without kernel Makefile?

Ask Time:2020-05-08T08:38:03         Author:yfr24493AzzrggAcom

Json Formatter

I have an ARM Linux device, but I don't have the Makefile of the kernel to build a kernel module.

I have GCC cross compiler to this arch.

How can I compile a kernel module without the Makefile of the kernel?

Author:yfr24493AzzrggAcom,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/61670100/how-to-compile-linux-kernel-module-without-kernel-makefile
yy