drivers: connectivity: gen4m: Fix built-in config detection

Change-Id: I5e3eaf3d405cf90af1fb98f7a0281bd7a7dc298d
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
bengris32
2023-07-10 13:21:21 +07:00
committed by nisel
parent 3ad57d6e74
commit 3f033c08a4

View File

@@ -361,7 +361,7 @@ else
ccflags-y += -DCFG_WIFI_IP_SET=1
endif
ifneq ($(filter MTK_WCN_REMOVE_KERNEL_MODULE,$(KBUILD_SUBDIR_CCFLAGS)),)
ifeq ($(CONFIG_WLAN_DRV_BUILD_IN),y)
ccflags-y += -DCFG_BUILT_IN_DRIVER=1
else
ccflags-y += -DCFG_BUILT_IN_DRIVER=0