summaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-dreamcast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/mach-dreamcast/Makefile')
-rw-r--r--arch/sh/boards/mach-dreamcast/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-dreamcast/Makefile b/arch/sh/boards/mach-dreamcast/Makefile
index 7b97546c7e5f..37b2452206aa 100644
--- a/arch/sh/boards/mach-dreamcast/Makefile
+++ b/arch/sh/boards/mach-dreamcast/Makefile
@@ -1,6 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Sega Dreamcast specific parts of the kernel
#
-obj-y := setup.o irq.o rtc.o
-
+obj-y := setup.o irq.o
+obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o