xref: /linux/arch/x86/coco/sev/Makefile (revision 0903b9e2a46cb6252a13d6b19d0502da9be191cf)
1# SPDX-License-Identifier: GPL-2.0
2
3obj-y += core.o
4
5ifdef CONFIG_FUNCTION_TRACER
6CFLAGS_REMOVE_core.o = -pg
7endif
8
9KASAN_SANITIZE_core.o	:= n
10KMSAN_SANITIZE_core.o	:= n
11KCOV_INSTRUMENT_core.o	:= n
12
13# With some compiler versions the generated code results in boot hangs, caused
14# by several compilation units. To be safe, disable all instrumentation.
15KCSAN_SANITIZE		:= n
16