arch/mips/kvm/Makefile

Source file repositories/reference/linux-study-clean/arch/mips/kvm/Makefile

File Facts

System
Linux kernel
Corpus path
arch/mips/kvm/Makefile
Extension
[no extension]
Size
411 bytes
Lines
21
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: build/configuration rule
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
# Makefile for KVM support for MIPS
#

include $(srctree)/virt/kvm/Makefile.kvm

ccflags-y += -Ivirt/kvm -Iarch/mips/kvm

kvm-$(CONFIG_CPU_HAS_MSA) += msa.o

kvm-y +=    mips.o emulate.o entry.o \
	    interrupt.o stats.o \
	    fpu.o
kvm-y += hypcall.o
kvm-y += mmu.o
kvm-$(CONFIG_CPU_LOONGSON64) += loongson_ipi.o

kvm-y		+= vz.o
obj-$(CONFIG_KVM)	+= kvm.o
obj-y			+= tlb.o

Annotation

Implementation Notes