[PATCH] kbuild: fix external modules build

From: Gaël UTARD
Date: Thu Jan 05 2006 - 05:46:13 EST


The patch 2dd34b488a99135ad2a529e33087ddd6a09e992a breaks external modules
build since include/linux/autoconf.h is not found in the header files
directories.

Signed-off-by: Gaël Utard <gael.utard@xxxxxxxxxxxx>

--- linux-2.6.15/Makefile.orig 2006-01-05 10:54:15.000000000 +0100
+++ linux-2.6.15/Makefile 2006-01-05 10:55:05.000000000 +0100
@@ -348,7 +348,7 @@
# Needed to be compatible with the O= option
LINUXINCLUDE := -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
- -include include/linux/autoconf.h
+ -include linux/autoconf.h

CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)

-
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/