Re: Kconfig RTC selection (was: 2.6.25-rc7: Ugh.)

From: Adrian Bunk
Date: Fri Mar 28 2008 - 17:59:27 EST


On Fri, Mar 28, 2008 at 02:45:07PM -0700, David Brownell wrote:
> On Friday 28 March 2008, Adrian Bunk wrote:
> > > > > Â "JS_RTC" ... a SPARC32 thing
> > > > > ÂÂÂÂÂÂ--> bug?? no "js-rtc.c" in the tree! Âpatch sent
> > > >
> > > > Where's the bug?
> > > > js-rtc is built from rtc.c
> > >
> > > In which case, just enable rtc.c ... a "egrep -r 'JS_RTC|js-rtc'"
> > > shows that it looks pretty pointless.
> > >...
> >
> > grep for CONFIG_SUN_MOSTEK_RTC and you'll get the point.
>
> Right: it doesn't mention JS_RTC at all. Whatever is up
> with that stuff, it's broken.

You miss the point, the point is:
drivers/sbus/char/Makefile:obj-$(CONFIG_SUN_MOSTEK_RTC) += rtc.o

Two modules with the same name in one build are not allowed.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/