glibc: add dependency file for generating sysd-syscalls
Commit Message
after using make update-syscall-lists to update arch-syscall.h, sysd-syscalls will be generated from the old file arch-syscall.h, but not the newer one. it will cause compile error while it continue to build glibc. because sysd-syscalls won't be updated and do not match arch-syscall.h.
thus, add dependency file arch-syscall.h for sysd-syscalls.
Signed-off-by: Jinhui Guo <guojinhui@huawei.com>
---
sysdeps/unix/Makefile | 1 +
1 file changed, 1 insertion(+)
@@ -92,6 +92,7 @@ compile-syscall = $(COMPILE.S) -o $@ -x assembler-with-cpp - \ ifndef avoid-generated
$(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \
$(wildcard $(+sysdep_dirs:%=%/syscalls.list)) \
+ $(wildcard $(+sysdep_dirs:%=%/arch-syscall.h)) \
$(common-objpfx)libc-modules.stmp
for dir in $(+sysdep_dirs); do \
test -f $$dir/syscalls.list && \
--
2.12.3