Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758987AbYHDVc5 (ORCPT ); Mon, 4 Aug 2008 17:32:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763866AbYHDVbu (ORCPT ); Mon, 4 Aug 2008 17:31:50 -0400 Received: from yw-out-2324.google.com ([74.125.46.30]:43435 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764247AbYHDVbq (ORCPT ); Mon, 4 Aug 2008 17:31:46 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VHumcbRmrNqW9q1mVeHO16e8zHXUU3KlBw9T+SQ1vNjxZsacMeyRiHGVKX2RSvdwmq FG9XeAynToQvLImwm7v2UR6icFGuOvWGiaH8RQW7xQObwtEubMcxPM41nYRqe+uORmZ5 VjC5sWcsoN4fe61F8Rb3ZxPxg2Ny+S3dd6n0M= Message-ID: <93655eb70808041431p709ef863m2922dc91e3ad738b@mail.gmail.com> Date: Tue, 5 Aug 2008 03:01:45 +0530 From: "Satish Eerpini" To: "GNU Boi" Subject: Re: Kernel Installer Cc: linux-kernel@vger.kernel.org In-Reply-To: <12fc08bc0808040658g3fda79a6r407401b2e328ebea@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <93655eb70808031350q16a5765bk3125e53bd042ba0e@mail.gmail.com> <20080803210051.GF7442@cs181140183.pp.htv.fi> <93655eb70808032045vd6130e9m147d3e3ae8b159b5@mail.gmail.com> <93655eb70808032046y594f38a3u16b7fa2cc6291b1d@mail.gmail.com> <4896CB17.8050701@kernel.org> <93655eb70808040357m2e2893c5n3deb34012d5f212b@mail.gmail.com> <93655eb70808040400l236aed0bm841744beff4dd4fe@mail.gmail.com> <12fc08bc0808040658g3fda79a6r407401b2e328ebea@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3600 Lines: 94 lot more work needs to be done , before the kernel installer would be useful for a newbie , and the GUI front end would be the major part of it ! Thanks Satish On Mon, Aug 4, 2008 at 7:28 PM, GNU Boi wrote: > hey man thanks as u have started a kernel installer i (we newbie) like > it ........ > > On 8/3/08, Satish Eerpini wrote: >> using make -n does not work well for my purpose , because with that , >> the neat kernel compilation output is gone , and i think it is far >> more work to make sense out of the entire details make -n gives . >> >> I rather came up with this idea , though i think it is more time consuming , >> : >> >> --> enter each directory recursively and parse the Makefile for the >> files that would be compiled , >> --> this can be done by comparing the "CONFIG_" options which have >> been enabled in .config >> --> and then should also make note of the other 'objs' being compiled >> for the required objects . >> >> but all this has to be done in a way which minimises the amount of CPU >> time the installer takes , because while we are running the make for >> the compilation , it itself consumes a lot of CPU cyles . (CC >> actually) ,........ >> >> another obstacle i have faced is recognising when the Linux image is >> being built , and when the compiling enters into the second stage , >> viz , building modules ........ but knowing the total no of modules to >> be compiled is simple as it is already given out by kbuild. >> >> what i need to know , is there any method by which the total no of >> files to be compiled can be computed internally in the kbuild process >> itself , ...... >> or the second method would be to "echo" markers (basically text >> messages) after each stage of the compilation which can be caught by >> the installer , ... but i am sure this is not the best of the methods >> to be followed , .......... >> >> is this possible ? >> >> >> On Mon, Aug 4, 2008 at 2:55 PM, Tejun Heo wrote: >>> Satish Eerpini wrote: >>>>> Replacing the normal build output with something different doesn't make >>>>> anything easier. >>>>> >>>>> Especially considering that your "once the .config file is set" seems to >>>>> assume the user already configured the kernel himself... >>>>> >>>> >>>> i am not just trying to replace the output , i am not a stupid to >>>> waste my weekend sitting just to replace the output :-), >>>> if u are interested , u can check out the entire TODO for the app here >>>> http://satish.playdrupal.com/?q=node/2 >>>> >>>> but in the process i am stuck at deciding the no of files that will be >>>> compiled , given that representing the entire compilation >>>> process as a progress bar , would give a clear idea of " how much is >>>> over" and "how much is left" !!! >>> >>> make -n makes make do a dry-run but kbuild is a pretty complex beast and >>> you might have to jump through some loops to get the information you want. >>> >>> -- >>> tejun >>> >> >> Thanks >> Satish >> -- >> http://satish.playdrupal.com >> -- >> 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/ >> > -- http://satish.playdrupal.com -- 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/