On Sunday 20 March 2005 05:42 am, Blaisorblade wrote:

> > Without the fix I posted, I have to remove existing
> > symbols from the list,
>
> If you enable the other symbol, Kbuild will remove it from .config for you
> (and output a warning message, yes, but that's hardly a problem). When I
> remove config options from Kconfig files I don't need to remove them
> from .config by hand...

How does oldconfig know which one "wins" when they're both set in the .config?  
I'm not running menuconfig, I have a script that is appending more symbols to 
the .config file, which works fine for normal symbols (ones that are 
commented out when they're not set), and I'm starting with a "make 
allnoconfig" that I then append extra symbols to and run make oldconfig to 
resolve dependencies...

Trying to set up something with make config and expect would be more brittle 
and version specific than just snapshotting a .config file in the first 
place, and would defeat the purpose anyway.  The point is, I wanted my build 
script to be self-documenting about what symbols it needed.  The ones it 
appends are the ones it needs, and the ones you'd have to switch on by hand 
if you did a make allnoconfig followed by make menuconfig yourself..

See what I'm getting at?

If you're saying that there's a hard rule that any symbol that's set by make 
allnoconfig will automatically lose to any other symbol that isn't if both 
are set in the config and oldconfig has to resolve an inconsistent state, I 
suppose I can live with that.  I'm a bit uncomfortable relying on that unless 
it's documented somewhere...

Rob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to