summaryrefslogtreecommitdiff
path: root/arch/x86/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kbuild')
-rw-r--r--arch/x86/Kbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/Kbuild b/arch/x86/Kbuild
index 5a83da703e87..36b985d0e7bf 100644
--- a/arch/x86/Kbuild
+++ b/arch/x86/Kbuild
@@ -1,4 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
+
+# Branch profiling isn't noinstr-safe. Disable it for arch/x86/*
+subdir-ccflags-$(CONFIG_TRACE_BRANCH_PROFILING) += -DDISABLE_BRANCH_PROFILING
+
+obj-y += boot/startup/
+
obj-$(CONFIG_ARCH_HAS_CC_PLATFORM) += coco/
obj-y += entry/
@@ -28,5 +34,7 @@ obj-y += net/
obj-$(CONFIG_KEXEC_FILE) += purgatory/
+obj-y += virt/
+
# for cleaning
subdir- += boot tools