[kbuild-devel] Re: [PATCH] Have split-include take another argument

2002-11-14 Thread Tom Rini
On Thu, Nov 14, 2002 at 03:01:18PM -0600, Kai Germaschewski wrote: > On Mon, 11 Nov 2002, Tom Rini wrote: > > > Hello. The following patch makes split-include take another argument, > > which is the prefix of what is being split up. This is needed since I'm > > working on a system which will all

[kbuild-devel] Re: [PATCH] Have split-include take another argument

2002-11-14 Thread Kai Germaschewski
On Mon, 11 Nov 2002, Tom Rini wrote: > Hello. The following patch makes split-include take another argument, > which is the prefix of what is being split up. This is needed since I'm > working on a system which will allow for various params in the kernel to > be tweaked at compile-time, without

[kbuild-devel] Re: [PATCH] Have split-include take another argument

2002-11-12 Thread Tom Rini
On Mon, Nov 11, 2002 at 05:37:10PM -0600, Peter Samuelson wrote: > [Tom Rini] > > First, does anyone see any problems with the patch itself? > > Well, > > > - str_config += sizeof("CONFIG_") - 1; > > + str_config += strlen(str_split_token); > > it does seem a bit inefficient to call strlen

[kbuild-devel] Re: [PATCH] Have split-include take another argument

2002-11-11 Thread Peter Samuelson
[Tom Rini] > First, does anyone see any problems with the patch itself? Well, > - str_config += sizeof("CONFIG_") - 1; > + str_config += strlen(str_split_token); it does seem a bit inefficient to call strlen() for every single line of every single source file. Perhaps today's compilers