
On Thu, Aug 07, 2003 at 01:30:44AM +0200, Wolfgang Denk wrote:
In message 20030806223427.GA7826@buici.com you wrote:
Can you please split your patch in two separate parts: one with the support for the new Sharp KEV7A400 board, and another one to use your Perl script?
That's an interesting request. There isn't really a way to separate them this way since the configuration control script is used to divide the LHA7A400 implementation of the ARM920 from the Samsung implementation.
Please try it.
My target won't compile without it. I can separate it, but MAKEALL will fail.
Most probably I will merge the KEV7A400 board support quickly, but spend some time playing with the configuration control script before I add it.
How about the other way around. I'll send you the configuration script portion. It's very small.
Ummm... and what do you need perl for?
Don't any more.
# Copyright (c) 2003 # Marc Singer elf@buici.com
Please include a GPL header.
Sure.
Note that mkconfig doesn't.
# The macro CPP may refer to 'gcc -E'. This definition is not # compatible with this use of the preprocessor because the input file # is a header and not a source file. Should there be a dependency on # a target-specific macro, another method must be found.
Please explain this comment, I don't understand it.
Found another way. It's removed.
CPP=cpp [ -z "$GREP" ] && GREP=grep [ -z "$SED" ] && SED=sed [ -z "$SORT" ] && SORT=sort
Any specific reason for not using something like this:
: ${GREP:=grep} ${SED:=sed} ${SORT:=sort}
Hand't thought of it. Changed.
I'm attaching a patch with just the configuration patches. I found another method of invoking cpp that ought to meet your expectations.
Cheers.