When we build mxmwifi from other folders, like AOSP kernel
build repo to collect symbols used by imx drivers,
it will meet below build error:
make -C common M=/home/ssd-2/jindong/android/gki-imx ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
make[1]: *** common: No such file or directory. Stop.
Use KERNEL_SRC to hold kernel directory, which can be passed
from AOSP kernel build repo.
Add a new target modules_install.
Change-Id: I344b0984317ae477b6961ab05eb73bf0a6c97e50
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Previously, the $(MAKE) command in the recipe of target mxmwifi is
passed to shell with the cp command together, if the $(MAKE) command
fails but the cp command succeed, the building process won't stop.
In this patch, pass the $(MAKE) and cp commands individually to shell,
then any failure will cause the build process to stop.
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Change-Id: Id22642018e20620cd021cdd9fc79a2f60202e9da
Add mxmwifi.mk to build nxp wifi driver out of kernel
tree with clang.
Remove GCC ccflag options to build wifi driver.
Change-Id: Ie9a2550a2a626daa069e7edb305080c91ef71bfa
Signed-off-by: yang.tian <yang.tian@nxp.com>