[CRIU] [PATCH] arm/make: add missed syscalls.S dependency

Dmitry Safonov dsafonov at virtuozzo.com
Wed Apr 19 06:31:46 PDT 2017


As for compiling syscalls.S needed syscall-aux.h header,
which is linked with making $(sys-asm-types), add it to deps.

Fixes:
> In file included from compel/arch/aarch64/plugins/std/syscalls/syscalls.S:2:0:
>     compel/include/uapi/compel/plugins/std/syscall-codes.h:568:44: fatal error: compel/plugins/std/syscall-aux.h: No such file or directory
>      #include <compel/plugins/std/syscall-aux.h>
>                                                 ^
>     compilation terminated.

Cc: Pavel Emelyanov <xemul at virtuozzo.com>
Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 compel/arch/arm/plugins/std/syscalls/Makefile.syscalls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compel/arch/arm/plugins/std/syscalls/Makefile.syscalls b/compel/arch/arm/plugins/std/syscalls/Makefile.syscalls
index 5695b86b9642..c89f1a56afce 100644
--- a/compel/arch/arm/plugins/std/syscalls/Makefile.syscalls
+++ b/compel/arch/arm/plugins/std/syscalls/Makefile.syscalls
@@ -25,7 +25,7 @@ endif
 
 sys-exec-tbl		:= sys-exec-tbl.c
 
-$(sys-asm) $(sys-types) $(sys-codes) $(sys-proto): $(sys-gen) $(sys-def) $(sys-asm-common)
+$(sys-asm) $(sys-types) $(sys-codes) $(sys-proto): $(sys-gen) $(sys-def) $(sys-asm-common) $(sys-asm-types)
 	$(E) "  GEN     " $@
 	$(Q) perl				\
 		$(sys-gen)			\
-- 
2.12.2



More information about the CRIU mailing list