public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: esr@thyrsus.com
To: jeff millar <jeff@wa1hco.mv.com>
Cc: esr@snark.thyrsus.com, linux-kernel@vger.kernel.org,
	kbuild-devel@lists.sourceforge.net
Subject: Re: CML2 1.0.0 doesn't remember configuration changes
Date: Wed, 11 Apr 2001 22:06:46 -0400	[thread overview]
Message-ID: <20010411220646.A12550@thyrsus.com> (raw)
In-Reply-To: <20010411191940.A9081@thyrsus.com> <E14nU6n-0007po-00@the-village.bc.nu> <20010411204523.C9081@thyrsus.com> <002701c0c2f1$fc672960$0201a8c0@home> <20010411225055.A11009@thyrsus.com> <003c01c0c312$73713300$0201a8c0@home>
In-Reply-To: <003c01c0c312$73713300$0201a8c0@home>; from jeff@wa1hco.mv.com on Thu, Apr 12, 2001 at 01:35:55AM -0400

jeff millar <jeff@wa1hco.mv.com>:
> From what's in the various documentation and reading about 1% of the cml2
> traffic...  cml2's  various "make *config" invocations use config.out as a
> database for remembering configuration, and then on exit they all generate a
> fresh copy of .config.

Actually CML2's behavior is a bit more orthogonal than that.  It normally
reads nothing and writes to config.out.  You can give it -i and -I options
telling it to read in files at startup, or a -o option to issue output to
a different filename. 

Now here's where it gets a little tricky.  The config.out format is different
from a CML1 .config in that it sores FOO=n settings explicitly, rather than in
the form of "# FOO is not set" comments.  The reason for this is so we can pass
around partial configurations (a particular set of APM options, say) with 
explicit no values in them.  

Eventually (like, when Keith's Makefile stuff goes in) the CML1
.config format will go away.  In the meantime, after each configurator
run, a shim script called "configtrans.py" takes the config.out and
generates both .config and include/kernel/autoconf.h from it.

>     Apparently it's too hard to read the existing
> .config to generate an initial config.out, 

Actually it's easy.  I can feed .configs to cmlconfigure with a -i option and
they'll be read in just fine.  

>                                      so I think "make *config" the
> first time, starts with some default and then on exit _should_ write that to
> config.out.  Then any other invocationn of *make *config". needs to use
> config.out.  "make xconfig", "make config" and "make editconfig" need to
> operate the same way.  I've never use anything but "make xconfig",  "make
> menuconfig" and "make oldconfig" and they currently all operate on the same
> information.  I've never used editconfig and don't know what it's for.

Editconfig was a mistake.  OK, I think I understand the rules now.  Is it:

(1) First, try to read from .config
(2) If .config doesn't exist, read from $(ARCH)/defconfig

?

> 1.0.3 feels faster, btw.

That's because it is.  I am continuing to tune.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

You need only reflect that one of the best ways to get yourself 
a reputation as a dangerous citizen these days is to go about 
repeating the very phrases which our founding fathers used in the 
great struggle for independence.
	-- Attributed to Charles Austin Beard (1874-1948)

  reply	other threads:[~2001-04-12 12:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-10 10:47 CML2 1.0.0 release announcement Eric S. Raymond
2001-04-10 12:14 ` Russell King
2001-04-11 19:43 ` davej
2001-04-11 20:04   ` Christoph Hellwig
2001-04-11 20:16     ` Dave Jones
2001-04-11 20:27       ` Christoph Hellwig
2001-04-11 22:23         ` Alan Cox
2001-04-11 23:19           ` esr
2001-04-11 23:30             ` Alan Cox
2001-04-11 23:33             ` Alan Cox
2001-04-12  0:45               ` esr
     [not found]                 ` <3AD4FC54.C86AACBE@mandrakesoft.com>
2001-04-12  1:28                   ` esr
2001-04-12  1:43                 ` CML2 1.0.0 doesn't remember configuration changes jeff millar
2001-04-12  2:50                   ` esr
2001-04-12  5:35                     ` jeff millar
2001-04-12  2:06                       ` esr [this message]
2001-04-12 21:20                         ` Ingo Oeser
2001-04-14  2:11                           ` Eric S. Raymond
2001-04-14  2:29                             ` Jeff Garzik
2001-04-14  4:33                               ` Nicolas Pitre
2001-04-12 10:45                 ` CML2 1.0.0 release announcement Alan Cox
2001-04-11 22:20   ` esr
2001-04-12  7:09 ` Albert D. Cahalan
2001-04-12  8:57   ` Jamie Lokier
2001-04-12 10:57   ` esr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010411220646.A12550@thyrsus.com \
    --to=esr@thyrsus.com \
    --cc=esr@snark.thyrsus.com \
    --cc=jeff@wa1hco.mv.com \
    --cc=kbuild-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox