1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # Makefile for x86-compatible CPU details, fea 4 # 5 6 # Don't trace early stages of a secondary CPU 7 ifdef CONFIG_FUNCTION_TRACER 8 CFLAGS_REMOVE_common.o = -pg 9 CFLAGS_REMOVE_perf_event.o = -pg 10 endif 11 12 # If these files are instrumented, boot hangs 13 KCOV_INSTRUMENT_common.o := n 14 KCOV_INSTRUMENT_perf_event.o := n 15 KMSAN_SANITIZE_common.o := n 16 17 # As above, instrumenting secondary CPU boot c 18 KCSAN_SANITIZE_common.o := n 19 20 obj-y := cacheinfo.o scatter 21 obj-y += topology_common.o t 22 obj-y += common.o 23 obj-y += rdrand.o 24 obj-y += match.o 25 obj-y += bugs.o 26 obj-y += aperfmperf.o 27 obj-y += cpuid-deps.o 28 obj-y += umwait.o 29 obj-y += capflags.o powerfla 30 31 obj-$(CONFIG_X86_LOCAL_APIC) += top 32 33 obj-$(CONFIG_PROC_FS) += pro 34 35 obj-$(CONFIG_IA32_FEAT_CTL) += fea 36 ifdef CONFIG_CPU_SUP_INTEL 37 obj-y += int 38 obj-$(CONFIG_PM) += int 39 endif 40 obj-$(CONFIG_CPU_SUP_AMD) += amd 41 obj-$(CONFIG_CPU_SUP_HYGON) += hyg 42 obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyr 43 obj-$(CONFIG_CPU_SUP_CENTAUR) += cen 44 obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += tra 45 obj-$(CONFIG_CPU_SUP_UMC_32) += umc 46 obj-$(CONFIG_CPU_SUP_ZHAOXIN) += zha 47 obj-$(CONFIG_CPU_SUP_VORTEX_32) += vor 48 49 obj-$(CONFIG_X86_MCE) += mce 50 obj-$(CONFIG_MTRR) += mtr 51 obj-$(CONFIG_MICROCODE) += mic 52 obj-$(CONFIG_X86_CPU_RESCTRL) += res 53 obj-$(CONFIG_X86_SGX) += sgx 54 55 obj-$(CONFIG_X86_LOCAL_APIC) += per 56 57 obj-$(CONFIG_HYPERVISOR_GUEST) += vmw 58 obj-$(CONFIG_ACRN_GUEST) += acr 59 60 obj-$(CONFIG_DEBUG_FS) += deb 61 62 quiet_cmd_mkcapflags = MKCAP $@ 63 cmd_mkcapflags = $(CONFIG_SHELL) $(src)/ 64 65 cpufeature = $(src)/../../include/asm/cpufeatu 66 vmxfeature = $(src)/../../include/asm/vmxfeatu 67 68 $(obj)/capflags.c: $(cpufeature) $(vmxfeature) 69 $(call if_changed,mkcapflags) 70 targets += capflags.c
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.