summaryrefslogtreecommitdiffstats
path: root/kernel/gcov/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-01-22 20:36:29 +0100
committerWill Deacon <will@kernel.org>2020-04-16 13:28:35 +0200
commit10415533a9062c9e5e27c421d9c232f0cae108fd (patch)
tree7982fc30175f33dc2208a42a9aee2ac64eac76d7 /kernel/gcov/Makefile
parentarm64: barrier: Use '__unqual_scalar_typeof' for acquire/release macros (diff)
downloadlinux-10415533a9062c9e5e27c421d9c232f0cae108fd.tar.xz
linux-10415533a9062c9e5e27c421d9c232f0cae108fd.zip
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