| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Makefile for the Linux/SuperH SH-2A backends. |
| 4 | # |
| 5 | |
| 6 | obj-y := common.o probe.o opcode_helper.o |
| 7 | |
| 8 | common-y += ex.o entry.o |
| 9 | |
| 10 | obj-$(CONFIG_SH_FPU) += fpu.o |
| 11 | |
| 12 | obj-$(CONFIG_CPU_SUBTYPE_SH7201) += setup-sh7201.o clock-sh7201.o |
| 13 | obj-$(CONFIG_CPU_SUBTYPE_SH7203) += setup-sh7203.o clock-sh7203.o |
| 14 | obj-$(CONFIG_CPU_SUBTYPE_SH7263) += setup-sh7203.o clock-sh7203.o |
| 15 | obj-$(CONFIG_CPU_SUBTYPE_SH7264) += setup-sh7264.o clock-sh7264.o |
| 16 | obj-$(CONFIG_CPU_SUBTYPE_SH7206) += setup-sh7206.o clock-sh7206.o |
| 17 | obj-$(CONFIG_CPU_SUBTYPE_SH7269) += setup-sh7269.o clock-sh7269.o |
| 18 | obj-$(CONFIG_CPU_SUBTYPE_MXG) += setup-mxg.o clock-sh7206.o |
| 19 | |
| 20 | # Pinmux setup |
| 21 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7203) := pinmux-sh7203.o |
| 22 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7264) := pinmux-sh7264.o |
| 23 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7269) := pinmux-sh7269.o |
| 24 | |
| 25 | obj-$(CONFIG_GPIOLIB) += $(pinmux-y) |