Skip to contentSkip to conversation

ppc4xx: Fix the build for Kilauea board and other boards that use the CONFIG_RTC_DS1307

PATCH New Stefan Roese 1 participant 1 message Aug 27, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 ppc4xx: Fix the build for Kilauea board and other boards that use the CONFIG_RTC_DS1307

Quoted 13 lines · fkan at amcc.com

From: Adam Graham <[email protected]>

---
 drivers/rtc/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/rtc/Makefile +0 -0
index 2af3ee5..af101fa 100644

drivers/rtc/Makefile COBJS-y += date.o · line 36

Quoted 6 lines
drivers/rtc/Makefile +2 -1
@@ -32,7 +32,8 @@ COBJS-y += date.o
 COBJS-$(CONFIG_RTC_DS12887) += ds12887.o
 COBJS-$(CONFIG_RTC_DS1302) += ds1302.o
 COBJS-$(CONFIG_RTC_DS1306) += ds1306.o
-COBJS-$(CONFIG_RTC_DS1307 || CONFIG_RTC_DS1338) += ds1307.o
+COBJS-$(CONFIG_RTC_DS1307) += ds1307.o
+COBJS-$(CONFIG_RTC_DS1338) += ds1307.o

A similar patch to fix this has been applied a few days ago:

[PATCH v2] RTC: Fix Makefile problem with COBJS-$(CONFIG_RTC_DS1307 || CONFIG_RTC_DS1338)

So your patch is not needed anymore.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================