I am trying to build the Xavier NX kernel and include the cypress fmac drivers. Since the kernel version is 4-9 I have to use backports to build the driver modules. But I keep getting errors when building the relevant “.ko” files.
I am mainly following this tutorial to build the l4t kernel image:
[NVIDIA Xavier - Kernel]
But after building the image when try to cross-compile cypress driver/backports modules, the make fails. Can somebody explain if the $CROSS_COMPILE variable should be same for both building the kernel image and cypress driver modules. And why do cypress modules make keeps failing?
The cypress README file is attached here : README (21.2 KB)
You can find the cypress driver package here:https://community.cypress.com/t5/Resource-Library/Cypress-Linux-WiFi-Driver-Release-FMAC-2020-09-25/ta-p/251089
Any help in this regard is welcome!