On Sun, Nov 04, 2007 at 05:50:51PM -0500, Chris Smith wrote:
> On 11/4/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote:
> > When you combine -E and -o the outputfile produced is the preprocessed
> > C source - and not the objectfile.
> > So the script behing "MKELF" complains that the file is not an ELF file
> > which is correct.
> >
> > It will obviously have impact when you replace the .o files with
> > preprocessed
> > output. The linker will also complain a bit.
> >
> > Sam
> >
> Ah, yes, hence the -k argument. But even adding this only moves me a
> little farther:
The first part of the kernel build is almost sequential and I think
that why it stops.
The following seems to work better:
make prepare
make scripts
make CFLAGS=-E -k KBUILD_NOCMDDEP=1
But you will see lots of errors.
Oh - and I do not understand what you are trying to achive anyway.
If you request more help please explain what you are trying to
achive (and I mean more than "getting preprocessed output of all .c files").
PS. You need to be in ../targ directory when executing the commands
but after a Makefile has been generated.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html