xref: /linux/arch/sh/kernel/cpu/Makefile (revision a06c3fad49a50d5d5eb078f93e70f4d3eca5d5a5)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux/SuperH CPU-specific backends.
4#
5
6obj-$(CONFIG_CPU_SH2)		= sh2/
7obj-$(CONFIG_CPU_SH2A)		= sh2a/
8obj-$(CONFIG_CPU_SH3)		= sh3/
9obj-$(CONFIG_CPU_SH4)		= sh4/
10
11# Special cases for family ancestry.
12
13obj-$(CONFIG_CPU_SH4A)		+= sh4a/
14obj-$(CONFIG_ARCH_SHMOBILE)	+= shmobile/
15
16# Common interfaces.
17
18obj-$(CONFIG_SH_ADC)		+= adc.o
19obj-$(CONFIG_SH_CLK_CPG_LEGACY)	+= clock-cpg.o
20
21obj-y	+= irq/ init.o clock.o fpu.o pfc.o proc.o
22