Building PCI MHI driver kernel module

Dear All,

I’ve got RM520 Quectel_Linux_PCIE_MHI_Driver_V1.3.4 archive from one of the quectel support persons and trying to compile it for yocto-based ARM aarch64-based architecture.

I used SDK generated from the Yocto image build to cross-compile the source code and generate the PCI MHI kernel module. but I am getting some compiler flag mismatch issues.

Is it possible to include this source file in the Yocto project image build system in the form of layers/recipes?

Does anyone has done any similar things?

Thank you so much for your attention and participation.

Kind regards
Suresh