* [x86] x86 targets without CMOS still build rtc.c despite CONFIG_RTC unset
@ 2010-09-20 11:49 Andy Clark
2010-09-20 11:58 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Andy Clark @ 2010-09-20 11:49 UTC (permalink / raw)
To: linux-kernel
Hi
I haven't taken the time to fully understand the build mechanism, but
comparing the x86 with other targets, the x86 target doesn't appear to
support CONFIG_RTC. Leaving this unset doesn't prevent
arch/x86/kernel/rtc.c being built into the kernel.
I'm building a linux-2.6.32.16 kernel using OpenWRT trunk for
Bifferboard, an rdc target. The Bifferboard SOC does not have an RTC.
Is this as-designed (i.e. do "all" rdc targets have RTC) or a work-in-progress?
Thanks,
Andy.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [x86] x86 targets without CMOS still build rtc.c despite CONFIG_RTC unset
2010-09-20 11:49 [x86] x86 targets without CMOS still build rtc.c despite CONFIG_RTC unset Andy Clark
@ 2010-09-20 11:58 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2010-09-20 11:58 UTC (permalink / raw)
To: Andy Clark; +Cc: linux-kernel
Andy Clark <andy.apcs@googlemail.com> writes:
> I haven't taken the time to fully understand the build mechanism, but
> comparing the x86 with other targets, the x86 target doesn't appear to
> support CONFIG_RTC. Leaving this unset doesn't prevent
> arch/x86/kernel/rtc.c being built into the kernel.
CONFIG_RTC is unrelated to arch/x86/kernel/rtc.c. It controls
drivers/char/rtc.c.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-20 11:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20 11:49 [x86] x86 targets without CMOS still build rtc.c despite CONFIG_RTC unset Andy Clark
2010-09-20 11:58 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®