From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269422AbUINPnI (ORCPT ); Tue, 14 Sep 2004 11:43:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269433AbUINPlI (ORCPT ); Tue, 14 Sep 2004 11:41:08 -0400 Received: from MAIL.13thfloor.at ([212.16.62.51]:7134 "EHLO mail.13thfloor.at") by vger.kernel.org with ESMTP id S269384AbUINPhB (ORCPT ); Tue, 14 Sep 2004 11:37:01 -0400 Date: Tue, 14 Sep 2004 17:37:00 +0200 From: Herbert Poetzl To: "Randy.Dunlap" Cc: sam@ravnborg.org, linux-kernel@vger.kernel.org Subject: Re: displaying kbuild dependancies ... Message-ID: <20040914153700.GA2683@MAIL.13thfloor.at> Mail-Followup-To: "Randy.Dunlap" , sam@ravnborg.org, linux-kernel@vger.kernel.org References: <20040911202548.GA31680@MAIL.13thfloor.at> <20040911213931.GA22403@mars.ravnborg.org> <20040912213034.GD24240@MAIL.13thfloor.at> <20040914082841.4bde2c77.rddunlap@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040914082841.4bde2c77.rddunlap@osdl.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2004 at 08:28:41AM -0700, Randy.Dunlap wrote: > On Sun, 12 Sep 2004 23:30:34 +0200 Herbert Poetzl wrote: > > | On Sat, Sep 11, 2004 at 11:39:31PM +0200, Sam Ravnborg wrote: > | > On Sat, Sep 11, 2004 at 10:25:48PM +0200, Herbert Poetzl wrote: > | > > > | > > Hi Sam! > | > > > | > > first, thanks for the kbuild stuff and all the > | > > time spent on that ... I really love it > | > > > | > > > | > > from time to time I encounter some issue which > | > > usually keeps me busy for a while, and I think > | > > there probably is a simpler solution to that ... > | > > > | > > the procedure: > | > > > | > > I'm configuring a 2.6.X-rcY-bkZ kernel for testing > | > > with QEMU, which in my setup basically requires > | > > some QEMU specific settings, I usually turn on/off > | > > by just editing the .config file by hand, and then > | > > invoking 'make oldconfig' ... > | > > > | > > to keep the possibility for error low, I usually > | > > just remove the entries in question, and oldconfig > | > > will ask me the relevant question, leading to a > | > > nice config adapted to my purposes ... > | > > > | > > the issue: > | > > > | > > sometimes a dependancy doesn't allow me to remove > | > > a config option, I absolutely have to remove for > | > > my setup, like the VGA_CONSOLE, and then the hunt > | > > for the option 'requiring' that one unconditinally > | > > beginns ... > | > > > | > > usually I start with grep and end with trial and > | > > error, until I find the malicious dependancy ... > | > > | > The only option today is to turn on the debug option > | > in 'make xconfig'. > | > | hmm, so no luck for the typical console user :( > | > | > I have been looking inot something better for menuconfig > | > but frankly kconfig is not where I feel most comfortable. > | > | it would be sufficient to be able to turn on some > | debug output, which says 'foo selected from bla' > | or 'foo disabled, requires bla and whatnot' ... > > There are some menuconfig patches in -mm (from Yuval Turgeman) > that add a search option (using '/') to menuconfig. > E.g., enter / + USB_STORAGE and you can see everywhere > that USB_STORAGE is used.... and that it SELECTs SCSI. > To see only the USB_STORAGE kconfig entry, use a regex: > ^USB_STORAGE$ sounds great! will investigate this ... > IIRC, Yuval is considering how to enhance this feature. thanks for the info, Herbert > -- > ~Randy