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