about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-02-01 00:01:25 +0000
committerRoland McGrath <roland@gnu.org>2008-02-01 00:01:25 +0000
commit363a641b1c856bf497840c6f7ed975366b48eb0e (patch)
tree80fa331870fbe6a2d76692d112e84cdbed7b99f3 /Makeconfig
parent7bd00dbfeb3398bead0ff2c0a9b190791cf251fa (diff)
downloadglibc-363a641b1c856bf497840c6f7ed975366b48eb0e.tar.gz
glibc-363a641b1c856bf497840c6f7ed975366b48eb0e.tar.xz
glibc-363a641b1c856bf497840c6f7ed975366b48eb0e.zip
* 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.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index d7cf0aa031..d269936f32 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -944,6 +944,9 @@ ifneq (,$(sysdep-makeconfigs))
 include $(sysdep-makeconfigs)
 endif
 
+# Compute just the target patterns.  Makeconfig has set sysd-rules-patterns.
+sysd-rules-targets := $(foreach p,$(sysd-rules-patterns),\
+		      		$(firstword $(subst :, ,$p)))
 
 endif # Makeconfig not yet included