Re: [PATCH] Makefile include path ordering

From: Sam Ravnborg
Date: Tue May 17 2005 - 13:40:18 EST


On Mon, May 16, 2005 at 05:02:17PM -0400, Rik van Riel wrote:
> The arch Makefile may override the include path order, which is
> used by Xen (and UML?) to make sure include/asm-xen is searched
> before include/asm-i386.

gcc will respect the order of -I options assinged to CFLAGS
So adding xen support at the proper (topmost) place in
arch/i386/Makefile should satisfy this requirement.

Also playing with NOSTDINC_FLAGS will most likely break builds with O=
since kbuild does not mangle patchs specified with NOSTDINC

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/