From: "Satish Eerpini" <eerpini@gmail.com>
To: "GNU Boi" <kernel.boi@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel Installer
Date: Tue, 5 Aug 2008 03:01:45 +0530 [thread overview]
Message-ID: <93655eb70808041431p709ef863m2922dc91e3ad738b@mail.gmail.com> (raw)
In-Reply-To: <12fc08bc0808040658g3fda79a6r407401b2e328ebea@mail.gmail.com>
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 <kernel.boi@gmail.com> wrote:
> hey man thanks as u have started a kernel installer i (we newbie) like
> it ........
>
> On 8/3/08, Satish Eerpini <eerpini@gmail.com> 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 <tj@kernel.org> 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
next prev parent reply other threads:[~2008-08-04 21:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-03 20:50 Satish Eerpini
2008-08-03 21:00 ` Adrian Bunk
[not found] ` <93655eb70808032045vd6130e9m147d3e3ae8b159b5@mail.gmail.com>
2008-08-04 3:46 ` Satish Eerpini
2008-08-04 9:25 ` Tejun Heo
[not found] ` <93655eb70808040357m2e2893c5n3deb34012d5f212b@mail.gmail.com>
2008-08-04 11:00 ` Satish Eerpini
[not found] ` <12fc08bc0808040658g3fda79a6r407401b2e328ebea@mail.gmail.com>
2008-08-04 21:31 ` Satish Eerpini [this message]
2008-08-04 14:03 ` Jeff Dike
2008-08-04 21:30 ` Satish Eerpini
2008-08-04 5:03 ` Bob van Manen
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=93655eb70808041431p709ef863m2922dc91e3ad738b@mail.gmail.com \
--to=eerpini@gmail.com \
--cc=kernel.boi@gmail.com \
--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
all inboxes | Powered by JetHome®