summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-12-20 00:10:51 +0000
committerNed Ludd <solar@gentoo.org>2004-12-20 00:10:51 +0000
commitd503d1d6c62506ba6fb51c04a9703039e71d11a9 (patch)
tree1d3976101fc6bfa6aa7cb28aed91d404b03c5ee5 /libc/sysdeps/linux/common/Makefile
parent1c8d7ee9cbe7483d06dab11b1333ea2eb23e60c6 (diff)
- Added support for 13 new syscalls to allow more things to compile when using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile')
-rw-r--r--libc/sysdeps/linux/common/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index a6be4307e..ddd015f7c 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -32,8 +32,8 @@ CSRC= __rt_sigtimedwait.c __socketcall.c __syscall_fcntl.c \
getpgid.c getpgrp.c getpid.c getppid.c getpriority.c getresgid.c \
getresuid.c getrlimit.c getrlimit64.c getrusage.c getsid.c \
gettimeofday.c getuid.c init_module.c ioctl.c ioperm.c iopl.c \
- kill.c klogctl.c lchown.c link.c llseek.c longjmp.c lseek.c \
- lstat.c lstat64.c madvise.c mkdir.c mkfifo.c mknod.c mlock.c \
+ kill.c klogctl.c lchown.c link.c llseek.c longjmp.c lseek.c lstat.c \
+ lstat64.c madvise.c mkdir.c mkfifo.c mincore.c mknod.c mlock.c \
mlockall.c mmap.c mmap64.c modify_ldt.c mount.c mprotect.c \
mremap.c msync.c munlock.c munlockall.c munmap.c nanosleep.c \
nice.c noophooks.c ntp_gettime.c open.c open64.c pause.c \
@@ -60,6 +60,11 @@ endif
ifeq ($(strip $(UCLIBC_PROPOLICE)),y)
CSRC+=ssp.c
endif
+
+ifeq ($(strip $(UCLIBC_XATTR)),y)
+CSRC+=xattr.c
+endif
+
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJ=$(COBJS) $(MOBJ)