summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-16 14:58:42 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-06-18 19:46:05 -0400
commit7b348eb6fc9616829f5aea5833fe9b48f05c87c1 (patch)
tree1cfb89dbe678470b1bbc7d8335e930a1b36fd0c5 /scripts/Makefile.lib
parentc3b880acadc95d6e019eae5d669e072afda24f1b (diff)
kbuild: Allow gcov to be enabled on the command linexfs-next
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 100a386fcd71..1f106c71e5fe 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -148,7 +148,7 @@ _cpp_flags = $(KBUILD_CPPFLAGS) $(cppflags-y) $(CPPFLAGS_$(target-stem).lds)
#
ifeq ($(CONFIG_GCOV_KERNEL),y)
_c_flags += $(if $(patsubst n%,, \
- $(GCOV_PROFILE_$(basetarget).o)$(GCOV_PROFILE)$(CONFIG_GCOV_PROFILE_ALL)), \
+ $(GCOV_PROFILE_$(basetarget).o)$(call eval_vars,GCOV_PROFILE_,$(src))$(GCOV_PROFILE)$(CONFIG_GCOV_PROFILE_ALL)), \
$(CFLAGS_GCOV))
endif