diff options
Diffstat (limited to 'drivers/sh/Makefile')
| -rw-r--r-- | drivers/sh/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile index fc67f564f02c..0aa152b1587a 100644 --- a/drivers/sh/Makefile +++ b/drivers/sh/Makefile @@ -1,10 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the SuperH specific drivers. # -obj-y := intc/ +obj-$(CONFIG_SH_INTC) += intc/ +ifneq ($(CONFIG_COMMON_CLK),y) +obj-$(CONFIG_HAVE_CLK) += clk/ +endif +obj-$(CONFIG_MAPLE) += maple/ -obj-$(CONFIG_HAVE_CLK) += clk/ -obj-$(CONFIG_MAPLE) += maple/ -obj-$(CONFIG_SUPERHYWAY) += superhyway/ - -obj-y += pm_runtime.o +obj-y += pm_runtime.o |
