fix leak of ../kernel from top level directory in Makefile From: Benjamin LaHaise This patch fixes a compile time error that results in the kernel being unable to compile due to a reference to ../kernel from the top level directory of the kernel source if a file ../kernel exists outside of the kernel tree. -ben Signed-off-by: Benjamin LaHaise Signed-off-by: Andi Kleen --- arch/i386/mach-generic/Makefile | 2 +- arch/i386/mach-voyager/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux/arch/i386/mach-generic/Makefile =================================================================== --- linux.orig/arch/i386/mach-generic/Makefile +++ linux/arch/i386/mach-generic/Makefile @@ -2,6 +2,6 @@ # Makefile for the generic architecture # -EXTRA_CFLAGS += -I../kernel +EXTRA_CFLAGS += -I$(TOPDIR)/arch/i386/kernel obj-y := probe.o summit.o bigsmp.o es7000.o default.o ../mach-es7000/ Index: linux/arch/i386/mach-voyager/Makefile =================================================================== --- linux.orig/arch/i386/mach-voyager/Makefile +++ linux/arch/i386/mach-voyager/Makefile @@ -2,7 +2,7 @@ # Makefile for the linux kernel. # -EXTRA_CFLAGS += -I../kernel +EXTRA_CFLAGS += -I$(TOPDIR)/arch/i386/kernel obj-y := setup.o voyager_basic.o voyager_thread.o obj-$(CONFIG_SMP) += voyager_smp.o voyager_cat.o