mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Add arch-syscall.h dependency for generating sysd-syscalls file
After using "make update-syscall-lists" to update arch-syscall.h for new kernel versions, sysd-syscalls will not be not be regenerated. This will cause a compile error because the new data is not being picked up. Fixes commit a1bd5f86739926469bbe0054b93305ff5905b070 ("Linux: Use system call tables during build"). Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
eca1b23332
commit
98b2dc7e20
@ -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 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user