about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-22 13:46:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-22 13:46:29 -0700
commitc9009328789acfca816c5ea0337ce0d0479b8fe5 (patch)
treebee640926975bfb0cc7d03cdec0122b3f5d5eea4 /sysdeps/unix/sysv/linux/Makefile
parent73338355920056d87648c65ccba9a875c289b37e (diff)
downloadglibc-c9009328789acfca816c5ea0337ce0d0479b8fe5.tar.gz
glibc-c9009328789acfca816c5ea0337ce0d0479b8fe5.tar.xz
glibc-c9009328789acfca816c5ea0337ce0d0479b8fe5.zip
Add sysctl.mk and bits/sysctl.h
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 120d544289..1011509018 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -17,7 +17,9 @@ sysdep_routines += internal_accept4 recvmmsg internal_recvmmsg sendmmsg \
 endif
 
 ifeq ($(subdir),misc)
-sysdep_routines += sysctl clone llseek umount umount2 readahead \
+include $(firstword $(wildcard $(sysdirs:=/sysctl.mk)))
+
+sysdep_routines += $(sysctl) clone llseek umount umount2 readahead \
 		   setfsuid setfsgid makedev epoll_pwait signalfd \
 		   eventfd eventfd_read eventfd_write prlimit