Message ID | 47af66469fae49d2af97473d26975308@huawei.com |
---|---|
State | New |
Headers | show |
Series | glibc: add dependency file for generating sysd-syscalls | expand |
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile index 109d270d77..0173802ba7 100644 --- a/sysdeps/unix/Makefile +++ b/sysdeps/unix/Makefile @@ -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
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(+)