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
This commit is contained in:
faqiang.zhu 2022-02-21 14:05:37 +08:00
parent 597e74d594
commit a8ad85af5b

View file

@ -23,6 +23,7 @@ KERNEL_CFLAGS ?= KCFLAGS=-mno-android
ARCH ?= $(TARGET_ARCH)
MXMWIFI_KERNELENVSH := $(MXMWIFI_OUT)/kernelenv.sh
.PHONY: $(MXMWIFI_KERNELENVSH)
$(MXMWIFI_KERNELENVSH):
mkdir -p $(MXMWIFI_OUT)
echo 'export KERNEL_SRC=$(KERNEL_SRC)' > $(MXMWIFI_KERNELENVSH)