summaryrefslogtreecommitdiff
path: root/soc/Kbuild
diff options
context:
space:
mode:
authorVatsal Bucha <vbucha@codeaurora.org>2018-08-23 12:50:46 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-12-10 23:39:25 -0800
commitd4b85ecad1aeb1981a3f0ac3512557ec6a0bcbb3 (patch)
tree16245d530c837166b3de8dfd82e6517bc67147a9 /soc/Kbuild
parentb9c563ff6f82c3cff852ec107f5cdfcbcee3f499 (diff)
downloadmsm-extra-d4b85ecad1aeb1981a3f0ac3512557ec6a0bcbb3.tar.gz
soc: Add flag GCOV_PROFILE to makefile
Enable GCOV for soc if config GCOV_PROFILE is set to true. Change-Id: I01e7cf24eb78c541f6f5d5b13c5a3b21f1f18d40 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Diffstat (limited to 'soc/Kbuild')
-rw-r--r--soc/Kbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/soc/Kbuild b/soc/Kbuild
index 69eb0b98..49ba00fc 100644
--- a/soc/Kbuild
+++ b/soc/Kbuild
@@ -133,6 +133,10 @@ ifeq ($(call cc-option-yn, -Wheader-guard),y)
EXTRA_CFLAGS += -Wheader-guard
endif
+ifeq ($(CONFIG_SND_SOC_GCOV), y)
+GCOV_PROFILE := y
+endif
+
# Module information used by KBuild framework
obj-$(CONFIG_PINCTRL_WCD) += pinctrl_wcd_dlkm.o
pinctrl_wcd_dlkm-y := $(PINCTRL_WCD_OBJS)