add compile.h dependency for missing_syscalls.o in init/Makefile
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
@@ -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.
Quoted 7 lines · Lee Schermerhorn
PATCH 2.6.21-rc5-mm2: add
compile.hdependency for missing_syscalls.oAdd a dependency on
include/linux/compile.hto 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 frominit/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