From 7bfd46ea5c1741159a043ffdbafac9d90ecd0d57 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 13 Apr 2018 21:46:05 -0700 Subject: [PATCH] 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 --- Kbuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Kbuild b/Kbuild index 302fcaa589159..8d606dc1cc42b 100644 --- a/Kbuild +++ b/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