diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2019-11-06 20:28:42 +0300 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-11-11 10:46:53 -0800 |
commit | dcf78ee660888d8302a0f0888bf746a164d267fa (patch) | |
tree | ddd940cf8d7e41c663fc9ae8b80334d8cbd96b5a /arch/mips/vdso/Makefile | |
parent | 53949e0a65b72f1551067d13a4dea3cbce184ded (diff) | |
download | linux-dcf78ee660888d8302a0f0888bf746a164d267fa.tar.gz linux-dcf78ee660888d8302a0f0888bf746a164d267fa.tar.bz2 linux-dcf78ee660888d8302a0f0888bf746a164d267fa.zip |
MIPS: allow building with kcov coverage
Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to MIPS config.
Disable instrumentation of vdso to avoid build failure.
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/vdso/Makefile')
-rw-r--r-- | arch/mips/vdso/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/vdso/Makefile b/arch/mips/vdso/Makefile index 996a934ece7d..e05938997e69 100644 --- a/arch/mips/vdso/Makefile +++ b/arch/mips/vdso/Makefile @@ -75,6 +75,7 @@ CFLAGS_REMOVE_vdso.o = -pg GCOV_PROFILE := n UBSAN_SANITIZE := n +KCOV_INSTRUMENT := n # # Shared build commands. |