summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-sh03/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/mach-sh03/Makefile')
-rw-r--r--arch/sh/boards/mach-sh03/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-sh03/Makefile b/arch/sh/boards/mach-sh03/Makefile
index 400306a796ec..f89c25c6a39c 100644
--- a/arch/sh/boards/mach-sh03/Makefile
+++ b/arch/sh/boards/mach-sh03/Makefile
@@ -1,5 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Interface (CTP/PCI-SH03) specific parts of the kernel
#
-obj-y := setup.o rtc.o
+obj-y := setup.o
+obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o
OpenPOWER on IntegriCloud