Re: Recursive variable `KBUILD_CFLAGS' references itself (eventually).

From: Sam Ravnborg
Date: Thu Jan 24 2008 - 16:34:13 EST


On Thu, Jan 24, 2008 at 10:31:18PM +0100, Jan Engelhardt wrote:
>
> On Jan 24 2008 22:27, Sam Ravnborg wrote:
> >> > > Trying to do a 32bit build on a 64bit machine.
> >> > > I did..
> >> > > make ARCH=i386 oldconfig
> >> > > make ARCH=i386 arch/x86/
> >> >
> >> > Walking through my mailbox I found this one.
> >> > I did not get similar reports and I cannot reproduce it.
> >> > Do you continue to see this or had it been fixed somehow?
> >>
> >> Still happens for me with the latest tree from git.
> >>
> >> $ make ARCH=i386 arch/x86/
> >
> >There is no easy fx for this one.
> >You try to build one of the non-standard directories and it just
> >fails because arch/x86/Makefile is not a regular Kbuild file.
> >
> >Try with any other directory (almost any other) and it works.
> >Considered unfortunate but not a bug - so I will not try to fix it.
>
> So, how are we going to build only arch/x86/ right now with kbuild?

It is not poissible.

You can do:
make arch/x86/kernel/
make arch/x86/lib/
make arch/x86/mm/

But there is no easy way to build them in one go.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/