summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile')
-rw-r--r--libc/sysdeps/linux/common/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 85949988f..c54f7cd1d 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -25,7 +25,7 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
-CSRC= _xmknod.c waitpid.c getdents.c kernel_version.c rewinddir.c \
+CSRC= waitpid.c getdents.c kernel_version.c rewinddir.c \
statfix.c getdnnm.c seekdir.c telldir.c tell.c gethstnm.c \
mkfifo.c setegid.c wait.c errno.c closedir.c getpagesize.c \
opendir.c seteuid.c wait3.c dirfd.c readdir.c setpgrp.c \
@@ -33,13 +33,10 @@ CSRC= _xmknod.c waitpid.c getdents.c kernel_version.c rewinddir.c \
COBJS=$(patsubst %.c,%.o, $(CSRC))
-NISRC= _fxstat.c _lxstat.c _xstat.c
-NIOBJS=$(patsubst %.c,%.o, $(NISRC))
-
MSRC=syscalls.c
MOBJ=$(shell ./list_syscalls.sh)
-OBJ=$(COBJS) $(NIOBJS) $(MOBJ)
+OBJ=$(COBJS) $(MOBJ)
UNIFIED_SYSCALL_HEADER = /dev/null
STR_SYSCALLS =
@@ -65,10 +62,6 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(NIOBJS):
- $(CC) $(CFLAGS) $< -c $*.c -o $*.o -fno-inline
- $(STRIPTOOL) -x -R .note -R .comment $*.o
-
str_syscalls:
/bin/sh ./str_syscalls.sh > str_syscalls.c
gcc str_syscalls.c -o str_syscalls