Hello Joanxie
I know that 5.10.72 bsp has the 88w9098 driver.
But I want to build the x86 version of the 9098 driver newly because 'mlanutl' tool included in 5.10.72 bsp doesn't support commands as much as the 9098 released driver package based on x86 does.
I did step by step the actions described in UM11675.pdf (How to Download and Build NXP Wi-Fi Drivers) and IMXLXYOCTOUG.pdf to make and install the toolchain. I replaced the location of 'KERNELDIR' into my yocto bsp's location in Makefile of 9098 driver sources like the below
KERNELVERSION_X86 := $(shell uname -r)
#KERNELDIR ?= /lib/modules/$(KERNELVERSION_X86)/build
KERNELDIR ?= /home/tay/imx8_yocto/imx-yocto-bsp/build-wayland2/tmp/work/imx8mqevk-poky-linux/linux-imx/5.10.72+gitAUTOINC+a68e31b63f-r0/build
Lastly, I tried building the driver sources and then had the error message I shared early.
The 88w9098 released driver package version is 'SD-WLAN-UART-BT-9098-U16-X86-17.68.1.P87-17.26.1.P-MXM5X17286_V1-GPL'
building the driver module sources (mlan.ko and moal.ko) are done successfully with the toolchain I installed. But 'mlanutl' sources are not built and make the error.
Thanks
Regards