Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4974955 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

dsp: Add flag GCOV_PROFILE to makefiles



Enable GCOV if config GCOV_PROFILE is set to true.

Change-Id: I78d27453768083dc4576682dcfc608e6df92e363
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 5ce5240a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -179,6 +179,10 @@ ifeq ($(KERNEL_BUILD), 1)
	obj-y += codecs/
endif

ifeq ($(CONFIG_SND_SOC_GCOV), y)
GCOV_PROFILE := y
endif

obj-$(CONFIG_SND_SOC_MSM_QDSP6V2_INTF) += q6_dlkm.o
q6_dlkm-y := $(Q6_OBJS)

+4 −0
Original line number Diff line number Diff line
@@ -145,6 +145,10 @@ KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module
KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/Module.symvers
endif

ifeq ($(CONFIG_SND_SOC_GCOV), y)
GCOV_PROFILE := y
endif

# Module information used by KBuild framework
obj-$(CONFIG_MSM_QDSP6V2_CODECS) += native_dlkm.o
native_dlkm-y := $(NATIVE_OBJS)