Re: Generating valid random .configs

From: Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Date: Wed May 30 2001 - 04:29:42 EST


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



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:44 EST