From 1d3f38bb108a5b5ec7051d27eb9916bcd365001d Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Thu, 23 Aug 2018 12:45:38 +0530 Subject: [PATCH] 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 --- ipc/Kbuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipc/Kbuild b/ipc/Kbuild index 3ecf01dd87e9..ec9dc78a851e 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