xref: /linux/arch/x86/coco/sev/Makefile (revision 170aafe35cb98e0f3fbacb446ea86389fbce22ea)
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