Skip to content

Commit e8f5bdb

Browse files
Rik van RielLinus Torvalds
authored andcommitted
[PATCH] Makefile include path ordering
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. The Makefile change to 2.6.12-rc4 made the top Makefile always override the value specified by the arch Makefile. This trivial patch makes the Xen kernel compile again. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 631330a commit e8f5bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ endif
530530
include $(srctree)/arch/$(ARCH)/Makefile
531531

532532
# arch Makefile may override CC so keep this after arch Makefile is included
533-
NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)
533+
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
534534
CHECKFLAGS += $(NOSTDINC_FLAGS)
535535

536536
# warn about C99 declaration after statement

0 commit comments

Comments
 (0)