xref: /openbmc/linux/arch/sh/kernel/cpu/sh2a/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
29d4436a6SYoshinori Sato#
39d4436a6SYoshinori Sato# Makefile for the Linux/SuperH SH-2A backends.
49d4436a6SYoshinori Sato#
59d4436a6SYoshinori Sato
6bd079997SPaul Mundtobj-y	:= common.o probe.o opcode_helper.o
79d4436a6SYoshinori Sato
86e80f5e8SYoshinori Satocommon-y	+= ex.o entry.o
99d4436a6SYoshinori Sato
1074d99a5eSPaul Mundtobj-$(CONFIG_SH_FPU)	+= fpu.o
1174d99a5eSPaul Mundt
122825999eSPeter Griffinobj-$(CONFIG_CPU_SUBTYPE_SH7201)	+= setup-sh7201.o clock-sh7201.o
136d01f510SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7203)	+= setup-sh7203.o clock-sh7203.o
14a8f67f4bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7263)	+= setup-sh7203.o clock-sh7203.o
1551ce3068SPhil Edworthyobj-$(CONFIG_CPU_SUBTYPE_SH7264)	+= setup-sh7264.o clock-sh7264.o
162825999eSPeter Griffinobj-$(CONFIG_CPU_SUBTYPE_SH7206)	+= setup-sh7206.o clock-sh7206.o
170b25b7c8SPhil Edworthyobj-$(CONFIG_CPU_SUBTYPE_SH7269)	+= setup-sh7269.o clock-sh7269.o
182ad69908SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_MXG)		+= setup-mxg.o clock-sh7206.o
1941e4a9a5SMagnus Damm
2041e4a9a5SMagnus Damm# Pinmux setup
2141e4a9a5SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7203)	:= pinmux-sh7203.o
2241797f75SPhil Edworthypinmux-$(CONFIG_CPU_SUBTYPE_SH7264)	:= pinmux-sh7264.o
23ef0fa533SPhil Edworthypinmux-$(CONFIG_CPU_SUBTYPE_SH7269)	:= pinmux-sh7269.o
2441e4a9a5SMagnus Damm
2595188aafSAlexandre Courbotobj-$(CONFIG_GPIOLIB)			+= $(pinmux-y)
26