diff options
author | guojinhui <guojinhui@huawei.com> | 2020-05-14 18:09:46 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-14 18:40:58 +0200 |
commit | 98b2dc7e208772e7088c63e3031f75c2b92548b4 (patch) | |
tree | 1a308e65f1f432174dacccaec6e65ce1bee01e9a /sysdeps/unix/Makefile | |
parent | eca1b233322914d9013f3ee4aabecaadc9245abd (diff) | |
download | glibc-98b2dc7e208772e7088c63e3031f75c2b92548b4.tar.gz glibc-98b2dc7e208772e7088c63e3031f75c2b92548b4.tar.xz glibc-98b2dc7e208772e7088c63e3031f75c2b92548b4.zip |
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>
Diffstat (limited to 'sysdeps/unix/Makefile')
-rw-r--r-- | sysdeps/unix/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 && \ |