From e82d96cb653660bd503a1a12a75884ebac50e809 Mon Sep 17 00:00:00 2001 From: "faqiang.zhu" Date: Tue, 31 Aug 2021 20:55:35 +0800 Subject: [PATCH] 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 Change-Id: Id22642018e20620cd021cdd9fc79a2f60202e9da --- mxm_wifiex/mxmwifi.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxm_wifiex/mxmwifi.mk b/mxm_wifiex/mxmwifi.mk index 4261e77..f4b1c10 100644 --- a/mxm_wifiex/mxmwifi.mk +++ b/mxm_wifiex/mxmwifi.mk @@ -39,6 +39,6 @@ mxmwifi: $(MXMWIFI_KERNELENVSH) $(MXMWIFI_SRC_PATH) $(CLANG_TO_COMPILE) \ $(KERNEL_CFLAGS) \ ARCH=$(ARCH) \ - DEBUG=$(DEBUG); \ + DEBUG=$(DEBUG); cp $(MXMWIFI_SRC_PATH)/mlan.ko $(MXMWIFI_OUT); cp $(MXMWIFI_SRC_PATH)/moal.ko $(MXMWIFI_OUT);