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