Re: Generating valid random .configs

Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Wed, 30 May 2001 11:29:42 +0200 (MET DST)


"Arjan van de Ven wrote:"
> Anuradha Ratnaweera wrote:
> >
> > Recently, I posted a request here to send your .config files and I
> > received a good number of them. (thanks!).
> >
> > Now I want to generate even more different configurations, and a random
> > .config generator would be ideal. If I write a program which randomly
> > outputs "y", "m" and "n" and pipe its output through make config, will the
> > generated .configs always compile? Yes. the best thing is to go ahead and
> > try it (which I am doing at the moment) but I like to know the theoretical
> > answer;)
>
> Every once in a while I run this and fix everything that doesn't
> compile. It has been
> 2 months since I last did that, so I should do it again soon..

Some things cannot be properly fixed in CML1.
"$CONFIG_BINFMT_MISC" = "y" -a "$CONFIG_PROC_FS" = "n"
is a good example.

Andrzej

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