Re: (Try #3) [Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles

From: Ralf Baechle
Date: Fri Jan 11 2008 - 09:18:30 EST


On Wed, Jan 02, 2008 at 02:21:36PM +0800, WANG Cong wrote:

> >> Shouldn't that use $(LINUXINCLUDE), or $(KBUILD_CPPFLAGS)?
> >It would be better to use $(LINUXINCLUDE) as we then pull in all config
> >symbols too and do not have to hardcode kbuild internal names (include2).
>
> OK. Refine this patch.

LDSCRIPT also needed fixing to get builds in a separate object directory
working again.

I've applied below fix.

Ralf