MA-20998 mxm_wifiex: Add compiler flag to suppress implicit fallthrough warnings

This patch adds the compiler flag "-Wno-implicit-fallthrough"
to suppress implicit fallthrough warnings in mxm_wifiex for
Android kernel builds.

Change-Id: I517f1901a0dd18ed0dd6994ff8cbfa27b15e7a42
Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
This commit is contained in:
Zhipeng Wang 2023-03-30 18:36:01 +00:00
parent 1d96ff12f2
commit b23acc414c

View file

@ -150,6 +150,7 @@ ifeq ($(CONFIG_IMX_SUPPORT),y)
ccflags-y += -DIMX_SUPPORT
ifneq ($(ANDROID_PRODUCT_OUT),)
ccflags-y += -DIMX_ANDROID
ccflags-y += -Wno-implicit-fallthrough
CONFIG_ANDROID_KERNEL=y
endif
endif