Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-09 Thread Oleg Verych
On Tue, Oct 09, 2007 at 06:17:43AM +0200, Sam Ravnborg wrote: > > > > What about, that this is the first ever prompt, that must be shown and > > written to the .config? > Two issues to fix before we can do this: > 1) chocie values cannot have more than one prompt what occupying all my time now is

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Oleg Verych
On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote: > One of the complaints that I continue to hear is that kbuild > is lacking a way to 'remember' the ARCH and CROSS_COMPILE > values originally used. Yea, finally. What about, that this is the first ever prompt, that must be shown and w

Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-06 Thread Oleg Verych
On Sat, Oct 06, 2007 at 09:03:00AM -0700, Linus Torvalds wrote: > > > On Sat, 6 Oct 2007, Oleg Verych wrote: > > > > Thanks. I will be specific, after i will finish, what i already have, > > to make air a bit less hot. Of course everything will be back > > comp

Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-06 Thread Oleg Verych
On Fri, Oct 05, 2007 at 04:35:41AM +0200, Roman Zippel wrote: > Hi, > > On Mon, 1 Oct 2007, Oleg Verych wrote: > > > Today's kconfig was proposed and accepted in a very unpleasant > > circumstances, has very poor design, development and no working > > alternat

[kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Oleg Verych
* Fri, 28 Sep 2007 11:12:51 -0600 > On Thursday 27 September 2007, Nick Piggin wrote: >> On Saturday 29 September 2007 00:34, Linus Torvalds wrote: >> > On Fri, 28 Sep 2007, Nick Piggin wrote: >> > > > God I hate select. >> > > >> > > IMO a better implementation would result in a notification / >

Re: [kbuild-devel] "several small things" (Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine)

2007-09-20 Thread Oleg Verych
On Thu, Sep 20, 2007 at 06:51:45AM +0200, Sam Ravnborg wrote: [] > > > There are several small things that are not addressed in todays > > > implementation and that will be fixed one way or the other. > > > > Did they get addressed year later or not? What they were (are)? > > Nope. > I have not

[kbuild-devel] spelld: "several small things"

2007-09-19 Thread Oleg Verych
On Thu, Sep 20, 2007 at 02:15:57AM +0200, Oleg Verych wrote: > * Fri, 25 Aug 2006 09:26:54 +0200 > > >> read.o <- read.c > > It will only do this if you ask for it. > > The question was what happened when you did make read.o > > > >> foo.o <

[kbuild-devel] "several small things" (Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine)

2007-09-19 Thread Oleg Verych
* Fri, 25 Aug 2006 09:26:54 +0200 >> read.o <- read.c > It will only do this if you ask for it. > The question was what happened when you did make read.o > >> foo.o <- foo.c >> bar.o <- bar.c >> built-in.o <- read.c foo.c bar.c >> >> (cf. default current: >> built-in.o <- read.o foo.o b

[kbuild-devel] Rename asm-offsets tool or not? (Re: [patch 01/03] kbuild, asm-values: infrastructure)

2007-09-16 Thread Oleg Verych
On Sun, Sep 16, 2007 at 08:29:12PM +0200, Sam Ravnborg wrote: > Hi Oleg. Hallo. Nice, you are bringing it back. I'll try to have LKML-like output this time, not a makefile mess and stuff: [] > I see no value in renaming from asm_offset to asm_value - please drop it. > Introducing the generic asm-

Re: [kbuild-devel] "Distributed configuration scheme by Linus at. al." (going back in time)

2007-09-16 Thread Oleg Verych
On Sun, Sep 16, 2007 at 07:02:27PM +0200, Sam Ravnborg wrote: [] > CML2 had all config in a single file IIRC. > Kconfig has it distributed all over the tree. > > If you need more please elaborate a bit more. Ahh, i thought about another kind of distribution of configuration. Namely items, not fil

Re: [kbuild-devel] "Distributed configuration scheme by Linus at. al." (going back in time)

2007-09-16 Thread Oleg Verych
On Sun, Sep 16, 2007 at 05:11:12PM +0200, Sam Ravnborg wrote: > Hi Oleg. > On Sun, Sep 16, 2007 at 03:12:48PM +0200, Oleg Verych wrote: > > Hallo, Sam. > > > > Can try to find exact wording/archives of the subject? > > <http://www.uwsg.iu.edu/hypermail/linux/kerne

Re: [kbuild-devel] kbuild update

2007-09-16 Thread Oleg Verych
On Sun, Sep 16, 2007 at 08:58:03AM -0400, Robert P. J. Day wrote: > On Sun, 16 Sep 2007, Sam Ravnborg wrote: > > > A summary of what is planned to be submitted in next merge window for > > kbuild. > > The shortlog below have additional details but the headlines are: > ... > > o add script to find

[kbuild-devel] "Distributed configuration scheme by Linus at. al." (going back in time)

2007-09-16 Thread Oleg Verych
Hallo, Sam. Can try to find exact wording/archives of the subject? Also, please describe what it was from your POV that time back. I'm doing library/history paper work now, before progressing in my design, you know. Happened to see

[kbuild-devel] moving to vger (Re: CPP includes ([PATCH 3/4] ia64: fix sn to add include files using EXTRA_CFLAGS))

2007-09-09 Thread Oleg Verych
On Mon, Sep 10, 2007 at 12:45:52AM +0200, Oleg Verych wrote: [] > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120

[kbuild-devel] CPP includes ([PATCH 3/4] ia64: fix sn to add include files using EXTRA_CFLAGS)

2007-09-09 Thread Oleg Verych
On Sun, Sep 09, 2007 at 08:06:23PM +0200, Sam Ravnborg wrote: > Changing the global CPPFLAGS is not the recommended way > to add additional include dirs. > Changed to use EXTRA_CFLAGS. Maybe same magic can be applied to Rusty's "../../../" in i386 asm-offsets? Noone seems to use cpp's features muc

Re: [kbuild-devel] CONFIG_HOTPLUG_CPU: kconfig bug?

2007-08-29 Thread Oleg Verych
> It's somewhat a side effect of using select and defaults, the order of the > config symbols becomes significant for oldconfig, And the patch have a side effect or just buggy `diff -p` output :) [] > -static void conf_askvalue(struct symbol *sym, const char *def) > +static int conf_askvalue(str

Re: [kbuild-devel] More effective processing (Re: [PATCH 25/33] kbuild: use POSIX BRE in headers install target)

2007-07-21 Thread Oleg Verych
On Sun, Jul 22, 2007 at 12:13:26AM +0200, Sam Ravnborg wrote: > On Sun, Jul 22, 2007 at 12:16:27AM +0200, Oleg Verych wrote: > > > > What do you think about this one? I want to propose to remove > > scripts/unifdef.c but to make clear policy about how to mark __KERNEL__ &

[kbuild-devel] More effective processing (Re: [PATCH 25/33] kbuild: use POSIX BRE in headers install target)

2007-07-21 Thread Oleg Verych
On Sat, Jul 21, 2007 at 10:39:16PM +0200, Sam Ravnborg wrote: > On Sat, Jul 21, 2007 at 03:21:43PM -0400, Mike Frysinger wrote: [] > > while you could try and make a claim against memory/cpu effeciency, i > > fail to see how the first or last claims could possibly be backed up Less \{\(\\n\t\+\)\}

Re: [kbuild-devel] [PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-21 Thread Oleg Verych
On Sat, Jul 21, 2007 at 04:27:31AM -0400, Mike Frysinger wrote: [] > if you want to make some micro optimization in the build install step, > sure ... but functionally, the difference is irrelevant considering > sed operates only on individual lines That was an attempt to support less sucking use

Re: [kbuild-devel] [PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-21 Thread Oleg Verych
On Sat, Jul 21, 2007 at 10:23:44AM +0200, Andreas Schwab wrote: > Oleg Verych <[EMAIL PROTECTED]> writes: > > >> + -e > >> "s/[[:space:]]__user[[:space:]]\{1,\} > > > > substitute one or more ' __user ' > > Substitute &#x

Re: [kbuild-devel] [PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-21 Thread Oleg Verych
* Date: Tue, 17 Jul 2007 16:08:54 +0200 > > From: Mike Frysinger <[EMAIL PROTECTED]> > > The sed expression used at the moment in scripts/Makefile.headersinst > relies on the (handy) GNU extension where you can escape ERE's in an > otherwise BRE without using the GNU -r option. The following patch

Re: [kbuild-devel] arch/i386/boot rebuilt on every compile...

2007-07-17 Thread Oleg Verych
On Tue, Jul 17, 2007 at 10:27:22PM +0200, Sam Ravnborg wrote: > On Tue, Jul 17, 2007 at 11:49:42AM -0700, H. Peter Anvin wrote: > > For some reason, everything in arch/i386/boot is rebuilt on every > > compile. It's not a huge time waster, but it has annoyed people enough > > that they ask me abou

Re: [kbuild-devel] Mucking with assembly files

2007-07-10 Thread Oleg Verych
On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote: > I seem to always be the one with the kbuild corner cases... > > As part of my x86 setup rewrite, there has been some concern that using > asm(".code16gcc"); isn't as safe as it should be (because of gcc > reordering), and making it

[kbuild-devel] Need opinions on asm-offsets cleanup (Re: [patch 01/03] kbuild, asm-values: infrastructure)

2007-06-14 Thread Oleg Verych
On Thu, Jun 14, 2007 at 11:12:25AM +0200, Sam Ravnborg wrote: > On Thu, Jun 14, 2007 at 09:41:43AM +0200, Oleg Verych wrote: > > Jun 13, 2007 at 01:36:51AM +0200, asm-values patch set: > > > * header with widely used value definitions > > > * handle all asm

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

2007-06-14 Thread Oleg Verych
enerate headers from assembles output > (hopefully better output, MIPS testing/joining to all arch > probably needed) > > rfc-by: Oleg Verych > --- So, is it another not so juicy lets-break-it-all stuff from me, or it just doesn't apply for you? I thought upd

[kbuild-devel] Removing of dummy asm-offset files (Re: [patch 02/03] kbuild, asm-values: successor of asm-offsets)

2007-06-13 Thread Oleg Verych
[] > +# legacy asm-offsets support (FIXME: convert all archs and remove this) > +old = $(shell test -e $(srctree)/arch/$(ARCH)/kernel/asm-offsets.c && echo > yes) > +ifeq ($(old),yes) > +asm-values =asm-offsets > +else > +asm-values =asm-values One more test here, and files li

[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: linux-2.6.22-rc4-mm2/drivers

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

2007-06-12 Thread Oleg Verych
, MIPS testing/joining to all arch probably needed) rfc-by: Oleg Verych --- See next patches, to know how to use it include/asm-generic/asm-values.h |7 scripts/Makefile.asm | 26 ++ scripts/Makefile.build |6 scripts/mkasm

[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

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

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 2>&1 > > and it cried to me: > > GEN /scsi/linsrc/linux-2.6.22-

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

2007-06-12 Thread Oleg Verych
Makefile generating. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- -o--=O`C /. .\ #oo'L O o <___=E M^-- Just lazy typing `make ARCH=i386` every time i want to check lguest. Makefile | 17 - scripts/mkm

Re: [kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-08 Thread Oleg Verych
On Fri, Jun 08, 2007 at 09:05:54PM +0200, Sam Ravnborg wrote: [] > > > > It does better whitespace cleanup, than > > > > scripts/{cleanfile *and* cleanpatch} > > Made a short test here. > Added the following to a file: > > static sam = ""; > > clean-whitespace replaced spac

Re: [kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-08 Thread Oleg Verych
On Fri, Jun 08, 2007 at 04:28:49PM +0200, Sam Ravnborg wrote: > On Thu, Jun 07, 2007 at 11:44:59PM -0700, Andrew Morton wrote: > > > > Then again, it's a better strategy than trying to read the code ;) > > > > Please, tell us what it does, so that we can decide whether we want it in > > Linux. >

[kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-07 Thread Oleg Verych
After running this script with filename as parameter, look (with diff) for, what can be corrected. Only "*.diff" and "*.patch" files are handled as patches. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> -- Two clean rules added, that can change look of damaged lines.

Re: [kbuild-devel] Sunifdef

2007-06-07 Thread Oleg Verych
* From: David Woodhouse * Date: Thu, 24 May 2007 11:32:45 -0400 > > On Wed, 2007-05-23 at 13:29 +0100, Jonathan Underwood wrote: >> Dear Kernel list, >> >> I've noticed in the past that unifdef is used in kernel package >> building. I wonder if you're aware of a maintained and more >> featureful

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-07 Thread Oleg Verych
On Thu, Jun 07, 2007 at 04:19:56PM -0700, H. Peter Anvin wrote: > Oleg Verych wrote: > > > > Because of that, i think, following is redundant: > > > > - to check for binary files > > find . -type f | xargs cleanfile What about patches? Anyway, by agreeme

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-07 Thread Oleg Verych
On Thu, Jun 07, 2007 at 04:36:33PM +0200, Jan Engelhardt wrote: > > On Jun 6 2007 21:14, Oleg Verych wrote: > >[] > >> > Many things in XXI century still can be done by tools founded 20-30 > >> > years ago. Why not try to? > >> > >> Because

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-06 Thread Oleg Verych
On Wed, Jun 06, 2007 at 07:50:26PM +0200, Sam Ravnborg wrote: [] > > Many things in XXI century still can be done by tools founded 20-30 > > years ago. Why not try to? > > Because your shell script is unreadable by normal human beings[*] > while the perl script for people with a bit of perl fu can

[kbuild-devel] Another version of cleanfile/cleanpatch (Re: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines)

2007-06-06 Thread Oleg Verych
While i'm against whitespace damaged files or patches since my very first patch, and don't like brain damaged programmer's tools called text editors, i also want to encourage UNIX-way of using userspace. Of course, i might be wrong and foolish. Anyway, what i'm trying to do is not to become new ge

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Oleg Verych
On Tue, Jun 05, 2007 at 04:57:59PM +0200, Oleg Verych wrote: [] > expand | while read line > do case "$line" in >++*) echo "$line";; >$p*) [ ${#line} -gt $w79 ] && : ${long:=line} > echo "$line" | s

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Oleg Verych
On Tue, Jun 05, 2007 at 04:12:54PM +0200, Sam Ravnborg wrote: > On Tue, Jun 05, 2007 at 03:38:34PM +0200, Oleg Verych wrote: > > On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote: > > [] > > > If on the other hand you are proposing a script to clean whitespace

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Oleg Verych
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote: [] > If on the other hand you are proposing a script to clean whitespace > damage in the code then git already does this nicely. I've read that too quickly, sorry. What then all that clean scripts are for? > I do not recall the actual

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Oleg Verych
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote: [] > > So, there are some new scripts. What if my proposition will be better, > > so to speak? Any problems i'm willing to fix/enhance. > > > > Note: only one copy of the file required. Sym-linked name *diff* or > > *patch* will process

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Oleg Verych
Hallo. On Sun, Jun 03, 2007 at 10:47:00PM +0200, Sam Ravnborg wrote: > Subject: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long > lines > From: H. Peter Anvin <[EMAIL PROTECTED]> > Date: Fri, 25 May 2007 17:58:26 -0700 > > Make the "cleanfile" and "cleanpatch" script warn about

Re: [kbuild-devel] kernel with minimum possible memory, which can boot- reg

2007-02-16 Thread Oleg Verych
Hallo. First of all, this is wrong list to post such questions. Try to search kernel-newbie one or something like that. Anyways. On Fri, Feb 16, 2007 at 03:30:29PM +0530, Vishnu Charan T wrote: > Hi All, > > I am new to Linux. working on Linux for the past two weeks. IMHO it's not such a long

Re: [kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources...

2007-02-01 Thread Oleg Verych
> From: Oleg Verych > Newsgroups: gmane.linux.kernel,gmane.linux.kbuild.devel > Subject: Re:[patch, rfc] kbuild: implement checksrc without building > Cources... > Date: Thu, 26 Oct 2006 15:07:20 +0200 > Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/460736>

Re: [kbuild-devel] spelling of Kbuild.include (Re: [request for testing] kbuild: improving option checking)

2007-01-24 Thread Oleg Verych
24-01-2007, Robert P. J. Day: > On Wed, 24 Jan 2007, Oleg Verych wrote: [] >> > > -# Convinient variables >> > > +# Convinient constants >> > ^^ >> > "Convenient" >> >> Kind of testing i never expected. > > ummm

[kbuild-devel] spelling of Kbuild.include (Re: [request for testing] kbuild: improving option checking)

2007-01-24 Thread Oleg Verych
On Wed, Jan 24, 2007 at 05:37:00AM -0500, Robert P. J. Day wrote: > On Wed, 24 Jan 2007, Oleg Verych wrote: > > > kbuild: improving option checking > ... > > --- linux~2.6.20-rc5/scripts/Kbuild.include~blackhole-4-tmpfiles > > 2007-01-12 19:54:26.0 +01

[kbuild-devel] [request for testing] kbuild: improving option checking

2007-01-24 Thread Oleg Verych
$(null) is recommended. Feature: file $(objtree)/null isn't in any "clear" target (yet). Cc: Roman Zippel <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- -o--=O`C #oo'L O <___=E M --- linux~2.6

[kbuild-devel] [patch] kbuild: fix tilded non backup files in localversion files

2007-01-23 Thread Oleg Verych
c: Bastian Blank <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- Original report and fix by Bastian Blank: The following patch fixes the problem that localversion files where ignored if the tree lives in a path which contai

[kbuild-devel] [patch] kbuild: create KBUILD_OUTPUT

2007-01-23 Thread Oleg Verych
kbuild: create KBUILD_OUTPUT When requesting build to another directory, try to create it first. Cc: Sam Ravnborg <[EMAIL PROTECTED]> Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- ,-*- bash -*- |[EMAIL PROTECTED]:~/kernel.org/_work/src/linux-2.6.20-rc5$ |[EMAIL PROTECTED]:

Re: [kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources...

2006-11-12 Thread Oleg Verych
On Tue, Oct 24, 2006 at 01:45:08PM -0700, Randy Dunlap wrote: > On Tue, 24 Oct 2006 19:43:40 + (UTC) Oleg Verych wrote: > > This doesn't work, use ifs instead. Updated. > > I have no idea what to do with generated sources and headers. > > One may be: check target `if

[kbuild-devel] [patch 02/02] kbuild: fix-rR-is-now-default

2006-11-12 Thread Oleg Verych
t;[EMAIL PROTECTED]> Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- This one was submitted in hope, that it can be small and useful for .19. It was quied in -mm, this is update. Makefile | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) Index: linux-2.

[kbuild-devel] [patch 00/02] kbuild: fix-make-rR-is-now-default-commit

2006-11-12 Thread Oleg Verych
-- This is replacement for + makefile-cancel-implicit-rules-on-included-and-top-makefiles.patch +added to -mm tree -o--=O`C #oo'L O <___=E M - Using Tomcat but need to do more? Need to support web services, security?

[kbuild-devel] [patch 01/02] kbuild: tabify and strip trailing whitespaces

2006-11-12 Thread Oleg Verych
Tabify and strip trailing whitespaces. Cc: Sam Ravnborg <[EMAIL PROTECTED]> Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- (... or open/save/close in GNU Emacs. Linus and all friends, editing this file, doesn't seem to use "decent" editor, he-he; khm, sorr

[kbuild-devel] [patch 03/04, rfc] cancel implicit rules on included and top makefiles.

2006-11-12 Thread Oleg Verych
`make -d help | grep Makefile` shows patterns, where make tries to rebuild included and top makefiles. Do not let make to do so, by canceling implicit rules on this files. This must apply for all kinds of top makefiles's targets: *config, *build. Signed-off-by: Oleg Verych <[EMAIL P

[kbuild-devel] [patch 00/04, rfc] kbuild: revision of top Makefile

2006-11-12 Thread Oleg Verych
-- Any comments are appreciated. Patchset may be updated with fixes to $(space) variable, `width < 80' help messages and more interesting TAGS/tags generation. TIA. -o--=O`C /. .\ #oo'L O o <___=E M^-- -

[kbuild-devel] [patch 04/04, rfc] use more built-in shell functions

2006-11-12 Thread Oleg Verych
"Speed up" shell script by using built-in `:', do not access trivial commands on file system. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6

[kbuild-devel] [patch 02/04, rfc] apply common cosmetic style

2006-11-12 Thread Oleg Verych
Apply style from top to bottom; some spelling and syntax fixes; (sane) reordering of MAKEFLAGS. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- Examples of what can be done to unify overall style of the file. Makefile

[kbuild-devel] [patch 01/04, rfc] tabify and strip trailing whitespaces

2006-11-12 Thread Oleg Verych
Tabify and strip trailing whitespaces. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> --- (... or open/save/close in GNU Emacs. Linus and all friends, editing this file, doesn't seem to use "decent" editor, he-he; khm, sorry ;) Let me introduce my view of the main (ro

[kbuild-devel] [patch] Makefile: cancel implicit rules on included and top makefiles.

2006-11-12 Thread Oleg Verych
`make -d help | grep Makefile` shows patterns, where make tries to rebuild included and top makefiles. Do not let make to do so, by canceling implicit rules on this files. This must apply for all kinds of top makefiles's targets: *config, *build. Signed-off-by: Oleg Verych <[EMAIL P

Re: [kbuild-devel] Link lib to a kernel module

2006-10-25 Thread Oleg Verych
On 2006-10-25, Matthias Fechner wrote: [] > Makefile: > KDIR:= /lib/modules/$(shell uname -r)/build > PWD := $(shell pwd) there's $(CURDIR), just in case... - Using Tomcat but need to do more? Need to support web se

Re: [kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources (was Re: CHECK without C compile?)

2006-10-24 Thread Oleg Verych
On 2006-10-24, Oleg Verych wrote: > On 2006-10-23, Randy Dunlap wrote: >> Hi Sam, > * It seems* > > + $(call if_changed_rule,cc_o_c) || \ > + { echo $(@:.o=.ko); echo $@; } > $(MODVERDIR)/$(@F:.o=.mod) This doesn't work, use ifs instead. Updated. I have no i

[kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources (was Re: CHECK without C compile?)

2006-10-24 Thread Oleg Verych
lso building them > with the C compiler? As far as i can see, no, there isn't. I have thing to propose, but something with generated header files will not work yet (e.g kernel/config_data.h). Patch is rfc, of course. --- From: Oleg Verych <[EMAIL PROTECTED]> Subject: [patch, rfc] kbu

Re: [kbuild-devel] Link lib to a kernel module

2006-10-24 Thread Oleg Verych
Hallo, Matthias. On 2006-10-24, Matthias Fechner wrote: > I tried today to link a lib (.a) to my kernel module but I could not > found howto do it. `Documentation/kbuild' directory in your linux sources. `makefiles.txt' about `lib-y', `modules.txt' about modules. Good luck. ---