mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
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:
parent
1d96ff12f2
commit
b23acc414c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue