summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorVatsal Bucha <vbucha@codeaurora.org>2018-08-23 12:45:38 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-12-10 23:40:34 -0800
commit1d3f38bb108a5b5ec7051d27eb9916bcd365001d (patch)
tree1ce4fad2ae9b66a60d3fdd679522c6124ffee78b /ipc
parentb9c563ff6f82c3cff852ec107f5cdfcbcee3f499 (diff)
downloadmsm-extra-1d3f38bb108a5b5ec7051d27eb9916bcd365001d.tar.gz
ipc: Add flag GCOV_PROFILE to makefile
Enable GCOV if config GCOV_PROFILE is set to true. Change-Id: Ia49884a7ed161052ff1b286970b01d160024313e Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/Kbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/Kbuild b/ipc/Kbuild
index 3ecf01dd..ec9dc78a 100644
--- a/ipc/Kbuild
+++ b/ipc/Kbuild
@@ -131,6 +131,10 @@ CHIP_NAME ?= $(MODNAME)
CDEFINES += -DMULTI_IF_NAME=\"$(CHIP_NAME)\"
endif
+ifeq ($(CONFIG_SND_SOC_GCOV), y)
+GCOV_PROFILE := y
+endif
+
# Module information used by KBuild framework
obj-$(CONFIG_MSM_QDSP6_APRV2_RPMSG) += apr_dlkm.o
obj-$(CONFIG_MSM_QDSP6_APRV3_RPMSG) += apr_dlkm.o