From 363a641b1c856bf497840c6f7ed975366b48eb0e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 1 Feb 2008 00:01:25 +0000 Subject: * Makeconfig (sysd-rules-targets): New variable. * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target. --- sysdeps/unix/make-syscalls.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/unix/make-syscalls.sh') diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh index 0ec8b28fd2..ca82e1f331 100644 --- a/sysdeps/unix/make-syscalls.sh +++ b/sysdeps/unix/make-syscalls.sh @@ -146,9 +146,8 @@ shared-only-routines += $file ;; *) echo "\ -\$(foreach o,\$(object-suffixes),\$(objpfx)$file\$o) \ -\$(foreach o,\$(object-suffixes),\$(objpfx)ptw-$file\$o) \ -\$(objpfx)rtld-$file.os: \\" +\$(foreach p,\$(sysd-rules-targets),\ +\$(foreach o,\$(object-suffixes),\$(objpfx)\$(patsubst %,\$p,$file)\$o)): \\" ;; esac @@ -216,7 +215,8 @@ shared-only-routines += $file done # And finally, pipe this all into the compiler. - echo ' ) | $(compile-syscall)' + echo ' ) | $(compile-syscall) '"\ +\$(foreach p,\$(patsubst %$file,%,\$(basename \$(@F))),\$(\$(p)CPPFLAGS))" case $weak in *@*) -- cgit 1.4.1