summaryrefslogtreecommitdiff
path: root/kernel/gcov/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-01-22 19:36:29 +0000
committerWill Deacon <will@kernel.org>2020-04-16 12:28:35 +0100
commit10415533a9062c9e5e27c421d9c232f0cae108fd (patch)
tree7982fc30175f33dc2208a42a9aee2ac64eac76d7 /kernel/gcov/Makefile
parent10223c5286f7389c022e9e91f12c49918790cf36 (diff)
gcov: Remove old GCC 3.4 support
The kernel requires at least GCC 4.8 in order to build, and so there is no need to cater for the pre-4.7 gcov format. Remove the obsolete code. Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'kernel/gcov/Makefile')
-rw-r--r--kernel/gcov/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index d66a74b0f100..16f8ecc7d882 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -2,6 +2,5 @@
ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
obj-y := base.o fs.o
-obj-$(CONFIG_GCOV_FORMAT_3_4) += gcc_base.o gcc_3_4.o
-obj-$(CONFIG_GCOV_FORMAT_4_7) += gcc_base.o gcc_4_7.o
+obj-$(CONFIG_CC_IS_GCC) += gcc_base.o gcc_4_7.o
obj-$(CONFIG_CC_IS_CLANG) += clang.o