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