Commit graph

4 commits

Author SHA1 Message Date
faqiang.zhu
a8ad85af5b MA-19378-1 force to update the shell env script
There is a recipe with its target being a shell script. This shell
script is redirected with export shell env commands and is executed when
build the module.

It is possible that the shell scripts already exists but commands
redirected to it need to be changed. To eliminate build errors, force to
update this shell env script by make it a phony target.

Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Change-Id: I700a8025d0ca78bbaf00eb9206ff3a6cccbf9a33
2022-02-21 14:05:37 +08:00
Jindong Yue
8d12052fe9 MA-18757 Fix build issue when build mxmwifi from other folder
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>
2021-12-10 15:12:42 +08:00
faqiang.zhu
e82d96cb65 MA-19378 stop building when fail to execute target mxmwifi recipe
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
2021-08-31 21:19:24 +08:00
yang.tian
5426fc45f2 MA-18646 Build nxp mxmwifi driver out of kernel tree
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>
2021-01-28 18:15:53 +08:00