[PATCH 2.6.21-rc5-mm2] add compile.h dependency formissing_syscalls.o in init/Makefile

From: Lee Schermerhorn
Date: Wed Mar 28 2007 - 11:56:43 EST


PATCH 2.6.21-rc5-mm2: add compile.h dependency for missing_syscalls.o

Add a dependency on include/linux/compile.h to missing_syscalls.o
target in init/Makefile. Without this, [ia64] build fails with:

init/missing_syscalls.c:5:27: error: linux/compile.h: No such file or directory
In file included from init/missing_syscalls.c:97:

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@xxxxxx>

init/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: Linux/init/Makefile
===================================================================
--- Linux.orig/init/Makefile 2007-03-28 10:44:14.000000000 -0400
+++ Linux/init/Makefile 2007-03-28 11:02:59.000000000 -0400
@@ -21,7 +21,7 @@ clean-files := ../include/linux/compile.
# dependencies on generated files need to be listed explicitly

$(obj)/version.o: include/linux/compile.h
-$(obj)/missing_syscalls.o: $(obj)/missing_syscalls.h
+$(obj)/missing_syscalls.o: $(obj)/missing_syscalls.h include/linux/compile.h

# compile.h changes depending on hostname, generation number, etc,
# so we regenerate it always.


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