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