arch/mips/loongson2ef/common/Makefile

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

File Facts

System
Linux kernel
Corpus path
arch/mips/loongson2ef/common/Makefile
Extension
[no extension]
Size
579 bytes
Lines
29
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 loongson based machines.
#

obj-y += setup.o init.o env.o time.o reset.o irq.o \
    bonito-irq.o mem.o machtype.o platform.o
obj-$(CONFIG_PCI) += pci.o

#
# Serial port support
#
obj-$(CONFIG_LOONGSON_UART_BASE) += serial.o
obj-$(CONFIG_EARLY_PRINTK) += serial.o
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o

#
# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
# space
#
obj-$(CONFIG_CS5536) += cs5536/

#
# Suspend Support
#

obj-$(CONFIG_SUSPEND) += pm.o

Annotation

Implementation Notes