iMX8MN error while cross compilation of driver for WLAN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MN error while cross compilation of driver for WLAN

229 Views
nadimfnadaf
Contributor II

Hello,

I am cross compiling WLAN driver for iMX8MN evk. The name of driver which I'm trying to cross compile is as following:

Canon-SD-WLAN-SD-BT-8987-U16-MMC-W16.197.21.p23-16.198.21.p23-C4X16705-MGPL

I'm getting following error when I fire "make build" command from "wlan_src" directory.

/home/username/Workspace/Nano_L5.4.70/build/tmp/work-shared/imx8mnevk/kernel-source/include/uapi/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory
#include <asm/types.h>
^~~~~~~~~~~~~
compilation terminated.

 

The environment which I'm using is as follows:

Ubuntu version 18 5.4.0-121-generic

Kernel version (Yocto Setup) 5.4.70

 

Any help would be appreciated!

Thanks in advance.

Tags (2)
0 Kudos
0 Replies