Skip to contentSkip to conversation

add compile.h dependency for missing_syscalls.o in init/Makefile

PATCH In review Lee Schermerhorn 2 participants 2 messages Mar 28, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add compile.h dependency for missing_syscalls.o in init/Makefile

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:

 init/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/Makefile +1 -1
Index: Linux/init/Makefile
===================================================================
@@ -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.
#1 lore raw
Quoted 7 lines · Lee Schermerhorn

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:

Thanks.
But in the end I made another solution that avoids the compile.h dependency. It is kbuild.git and will appear in next -mm.

Sam