[kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread Oleg Verych
[patch] kbuild: remember ARCH in the object directory - rephrase some related (misspelled) comments, - remove all trailing whitespace in the top Makefile, * remember ARCH in the output directory, thus making build of i386 on amd64 *actually* convenient, - harmless refactoring of the

Re: [kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread Oleg Verych
On Tue, Jun 12, 2007 at 09:12:09AM -0700, Randy Dunlap wrote: [] I did: # build a linux-2.6.22-rc4-git4 kernel source tree cd into it # mkdir BLD $ make ARCH=i386 O=BLD defconfig $ make -j4 O=BLD all BLD/bld.out 21 and it cried to me: GEN

Re: [kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread Sam Ravnborg
On Tue, Jun 12, 2007 at 07:19:22PM +0200, Oleg Verych wrote: On Tue, Jun 12, 2007 at 09:12:09AM -0700, Randy Dunlap wrote: [] I did: # build a linux-2.6.22-rc4-git4 kernel source tree cd into it # mkdir BLD $ make ARCH=i386 O=BLD defconfig $ make -j4 O=BLD all BLD/bld.out 21

Re: [kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread Oleg Verych
On Tue, Jun 12, 2007 at 08:09:57PM +0200, Sam Ravnborg wrote: [] If we go the save important parts of the config I prefer something along the suggestion by hpa with a config file. The config file should though be named along the lines of Kbuild.config and the syntax should be future proof. I

[kbuild-devel] [patch 02/03] kbuild, asm-values: successor of asm-offsets

2007-06-12 Thread Oleg Verych
Some asm-offsets files define not only offsets, thus make it clear. Legacy files are supported, but may be freely changed to new scheme. rfc-by: Oleg Verych --- If somebody agrees, of course. Kbuild | 68 --- 1 file

[kbuild-devel] [patch 00/03] kbuild, asm-values: not only offsets, not only for $ARCH

2007-06-12 Thread Oleg Verych
Version number zer0. -- -o--=O`C #oo'L O ___=E M - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it

[kbuild-devel] [patch 03/03] kbuild, asm-values: private for lguest

2007-06-12 Thread Oleg Verych
A small example of how it can be used privately. rfc-by: Oleg Verych --- TODO: change lguest files to use it. drivers/lguest/Makefile |4 drivers/lguest/asm-values.c | 24 2 files changed, 28 insertions(+) Index:

Re: [kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread H. Peter Anvin
Sam Ravnborg wrote: If we go the save important parts of the config I prefer something along the suggestion by hpa with a config file. The config file should though be named along the lines of Kbuild.config and the syntax should be future proof. I like the syntax of the .git/config file and