drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros
[oweals/u-boot.git] / drivers / rtc / Makefile
index 9be2130e1b80bd308cd6f278bd36ea0b3a631f52..2e0c1183b4449d5a061e141aad5634ce02c363e1 100644 (file)
@@ -43,9 +43,9 @@ COBJS-$(CONFIG_RTC_ISL1208) += isl1208.o
 COBJS-y += m41t11.o
 COBJS-y += m41t60.o
 COBJS-$(CONFIG_RTC_M41T62) += m41t62.o
-COBJS-y += max6900.o
 COBJS-y += m48t35ax.o
 COBJS-y += max6900.o
+COBJS-$(CONFIG_RTC_MC13783) += mc13783-rtc.o
 COBJS-y += mc146818.o
 COBJS-y += mcfrtc.o
 COBJS-y += mk48t59.o