summaryrefslogtreecommitdiff
path: root/arch/x86/coco/sev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/coco/sev/Makefile')
-rw-r--r--arch/x86/coco/sev/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/coco/sev/Makefile b/arch/x86/coco/sev/Makefile
new file mode 100644
index 000000000000..342d79f0ab6a
--- /dev/null
+++ b/arch/x86/coco/sev/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y += core.o sev-nmi.o vc-handle.o
+
+# Clang 14 and older may fail to respect __no_sanitize_undefined when inlining
+UBSAN_SANITIZE_sev-nmi.o := n
+
+# GCC may fail to respect __no_sanitize_address or __no_kcsan when inlining
+KASAN_SANITIZE_sev-nmi.o := n
+KCSAN_SANITIZE_sev-nmi.o := n