Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for the Linux/SuperH SH-2A backends. |
| 3 | # |
| 4 | |
| 5 | obj-y := common.o probe.o opcode_helper.o |
| 6 | |
| 7 | common-y += ex.o entry.o |
| 8 | |
| 9 | obj-$(CONFIG_SH_FPU) += fpu.o |
| 10 | |
| 11 | obj-$(CONFIG_CPU_SUBTYPE_SH7201) += setup-sh7201.o clock-sh7201.o |
| 12 | obj-$(CONFIG_CPU_SUBTYPE_SH7203) += setup-sh7203.o clock-sh7203.o |
| 13 | obj-$(CONFIG_CPU_SUBTYPE_SH7263) += setup-sh7203.o clock-sh7203.o |
| 14 | obj-$(CONFIG_CPU_SUBTYPE_SH7264) += setup-sh7264.o clock-sh7264.o |
| 15 | obj-$(CONFIG_CPU_SUBTYPE_SH7206) += setup-sh7206.o clock-sh7206.o |
| 16 | obj-$(CONFIG_CPU_SUBTYPE_SH7269) += setup-sh7269.o clock-sh7269.o |
| 17 | obj-$(CONFIG_CPU_SUBTYPE_MXG) += setup-mxg.o clock-sh7206.o |
| 18 | |
| 19 | # Pinmux setup |
| 20 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7203) := pinmux-sh7203.o |
| 21 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7264) := pinmux-sh7264.o |
| 22 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7269) := pinmux-sh7269.o |
| 23 | |
| 24 | obj-$(CONFIG_GPIOLIB) += $(pinmux-y) |