xref: /openbmc/linux/arch/sh/kernel/cpu/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
39165dabbSMasanari Iida# Makefile for the Linux/SuperH CPU-specific backends.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
69d4436a6SYoshinori Satoobj-$(CONFIG_CPU_SH2)		= sh2/
79d4436a6SYoshinori Satoobj-$(CONFIG_CPU_SH2A)		= sh2a/
89d4436a6SYoshinori Satoobj-$(CONFIG_CPU_SH3)		= sh3/
99d4436a6SYoshinori Satoobj-$(CONFIG_CPU_SH4)		= sh4/
10343ac722SPaul Mundtobj-$(CONFIG_CPU_SH5)		= sh5/
11343ac722SPaul Mundt
12343ac722SPaul Mundt# Special cases for family ancestry.
13343ac722SPaul Mundt
1441504c39SPaul Mundtobj-$(CONFIG_CPU_SH4A)		+= sh4a/
15e9edb3feSPaul Mundtobj-$(CONFIG_ARCH_SHMOBILE)	+= shmobile/
161da177e4SLinus Torvalds
17343ac722SPaul Mundt# Common interfaces.
18343ac722SPaul Mundt
191da177e4SLinus Torvaldsobj-$(CONFIG_SH_ADC)		+= adc.o
20fa676ca3SMagnus Dammobj-$(CONFIG_SH_CLK_CPG_LEGACY)	+= clock-cpg.o
219d4436a6SYoshinori Sato
228fdff1dcSLaurent Pinchartobj-y	+= irq/ init.o clock.o fpu.o pfc.o proc.o
23