Re: [PATCH] [MTD] Fix CFI build error with meaningless nonfunctional .config

From: Josh Boyer
Date: Sun Aug 12 2007 - 13:30:03 EST


On 8/12/07, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
>
> > On Fri, 2007-08-10 at 09:41 +0200, Ingo Molnar wrote:
> > > looks quite quirky. Is there no Kconfig-space solution for this?
> >
> > I thought about that, but decided against it. We have altogether too
> > much munging of config options without the user's knowledge already; I
> > didn't want to make it worse.
>
> just found another one via randconfig, it fails with:
>
> In file included from drivers/mtd/chips/map_rom.c:16:
> include/linux/mtd/map.h:128:2: error: #error "No bus width supported. What's the point?"
>
> config attached below. Because it's so nice to be able to keep a
> randconfig build-test running overnight, i think this needs to be fixed
> too. (even if with just a runtime BUG())

Urgh. Is there a way to tell Kconfig, "One or more of the below
options must be set if CONFIG_CFI_GEOMETRY is enabled?"

josh
-
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/