Re: [patch 01/03] kbuild, asm-values: infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oleg Verych <olecom@...>
Cc: Rusty Russell <rusty@...>, LKML <linux-kernel@...>, <kbuild-devel@...>
Date: Sunday, September 16, 2007 - 2:29 pm

Hi Oleg.

On Wed, Jun 13, 2007 at 01:36:51AM +0200, Oleg Verych wrote:

Took a look at this patch at last.
Your patch moves everything to Makefile.asm and uses a script
to generate the offset file.

Now where we go the step to use a script to generate the offset file
a much simpler approach would be to move both steps to the shell script.
So the script are called with the input file as one of the
arguments and it spits out the resulting file to stdout.

Doing it this way would allow the caller to have full control
on the filenames and the current call-site in top-level Kbuild
would still be much simpler than today.

Moving the bits from Makefile.build that is only used for asm-offset is
a nice cleanup and this should the script version support too.

I see no value in renaming from asm_offset to asm_value - please drop it.
Introducing the generic asm-values.h should wait and when you do
you should be preapred to update all architectures (ecasue otherwise it
will not happen).

Sorry for the late feedback.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 01/03] kbuild, asm-values: infrastructure, Oleg Verych, (Tue Jun 12, 7:36 pm)
Re: [patch 01/03] kbuild, asm-values: infrastructure, Sam Ravnborg, (Sun Sep 16, 2:29 pm)
Re: [patch 01/03] kbuild, asm-values: infrastructure, Oleg Verych, (Thu Jun 14, 3:41 am)
Re: [patch 01/03] kbuild, asm-values: infrastructure, Sam Ravnborg, (Thu Jun 14, 5:12 am)