diff options
author | Vatsal Bucha <vbucha@codeaurora.org> | 2018-08-23 12:50:46 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-12-10 23:39:25 -0800 |
commit | d4b85ecad1aeb1981a3f0ac3512557ec6a0bcbb3 (patch) | |
tree | 16245d530c837166b3de8dfd82e6517bc67147a9 /soc/Kbuild | |
parent | b9c563ff6f82c3cff852ec107f5cdfcbcee3f499 (diff) | |
download | msm-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/Kbuild | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |