xref: /openbmc/linux/arch/sh/kernel/cpu/Makefile (revision 791d3ef2)
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/
10obj-$(CONFIG_CPU_SH5)		= sh5/
11
12# Special cases for family ancestry.
13
14obj-$(CONFIG_CPU_SH4A)		+= sh4a/
15obj-$(CONFIG_ARCH_SHMOBILE)	+= shmobile/
16
17# Common interfaces.
18
19obj-$(CONFIG_SH_ADC)		+= adc.o
20obj-$(CONFIG_SH_CLK_CPG_LEGACY)	+= clock-cpg.o
21
22obj-y	+= irq/ init.o clock.o fpu.o pfc.o proc.o
23