arch/sh/kernel/cpu/Makefile

Source file repositories/reference/linux-study-clean/arch/sh/kernel/cpu/Makefile

File Facts

System
Linux kernel
Corpus path
arch/sh/kernel/cpu/Makefile
Extension
[no extension]
Size
480 bytes
Lines
22
Domain
Architecture Layer
Bucket
arch/sh
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 the Linux/SuperH CPU-specific backends.
#

obj-$(CONFIG_CPU_SH2)		= sh2/
obj-$(CONFIG_CPU_SH2A)		= sh2a/
obj-$(CONFIG_CPU_SH3)		= sh3/
obj-$(CONFIG_CPU_SH4)		= sh4/

# Special cases for family ancestry.

obj-$(CONFIG_CPU_SH4A)		+= sh4a/
obj-$(CONFIG_ARCH_SHMOBILE)	+= shmobile/

# Common interfaces.

obj-$(CONFIG_SH_ADC)		+= adc.o
obj-$(CONFIG_SH_CLK_CPG_LEGACY)	+= clock-cpg.o

obj-y	+= irq/ init.o clock.o fpu.o pfc.o proc.o

Annotation

Implementation Notes