diff options
Diffstat (limited to 'sysdeps/unix/Makefile')
-rw-r--r-- | sysdeps/unix/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile index 9727844897..ffa207db52 100644 --- a/sysdeps/unix/Makefile +++ b/sysdeps/unix/Makefile @@ -270,7 +270,6 @@ endif endif -ifndef avoid-generated ifndef inhibit-unix-syscalls # Sysdep dirs unix/... can contain a file syscalls.list, @@ -286,6 +285,7 @@ endif export sysdirs export asm_CPP := $(COMPILE.S) -E -x assembler-with-cpp +ifndef avoid-generated $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \ $(wildcard $(+sysdep_dirs:%=%/syscalls.list)) for dir in $(+sysdep_dirs); do \ @@ -294,6 +294,7 @@ $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \ test $$dir = $(..)sysdeps/unix && break; \ done > $@T mv -f $@T $@ +endif # This syscall objects depend on s-proto.d, which is generated to # specify dependencies generated syscalls with have on headers. @@ -314,4 +315,3 @@ common-generated += s-proto.d postclean-generated += sysd-syscalls endif -endif |