Sfoglia il codice sorgente

qcacld-3.0: Kbuild: Define CONFIG_TUFELLO_DUAL_FW_SUPPORT

Currently the switch -DCONFIG_TUFELLO_DUAL_FW_SUPPORT is inferred by
examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create an explicit CONFIG_TUFELLO_DUAL_FW_SUPPORT
configuration parameter.

Change-Id: Id72259449c16aa81413c24a57cb1085110ff0223
CRs-Fixed: 2224812
Jeff Johnson 7 anni fa
parent
commit
7bfd46ea5c
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 5 4
      Kbuild

+ 5 - 4
Kbuild

@@ -545,6 +545,10 @@ CONFIG_FEATURE_WLAN_D0WOW := y
 endif
 endif
 
+ifeq ($(CONFIG_ARCH_MDM9607), y)
+CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
+endif
+
 ifeq ($(CONFIG_ARCH_MSM8996), y)
 CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
 endif
@@ -2292,10 +2296,7 @@ ccflags-y += -DFEATURE_METERING
 endif
 endif
 
-ifeq ($(CONFIG_ARCH_MDM9607), y)
-ccflags-y += -DCONFIG_TUFELLO_DUAL_FW_SUPPORT
-endif
-
+ccflags-$(CONFIG_TUFELLO_DUAL_FW_SUPPORT) += -DCONFIG_TUFELLO_DUAL_FW_SUPPORT
 ccflags-$(CONFIG_CHANNEL_HOPPING_ALL_BANDS) += -DCHANNEL_HOPPING_ALL_BANDS
 
 #Enable Signed firmware support for split binary format