summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/Makefile
diff options
context:
space:
mode:
authorTobias Anderberg <tobias.anderberg@axis.com>2002-09-20 15:17:16 +0000
committerTobias Anderberg <tobias.anderberg@axis.com>2002-09-20 15:17:16 +0000
commitcb9136d9843e3756ebc79f91a3a522ed4ca73eda (patch)
tree32c4645d05a7b4d7ec5b56abeb6f837c574e3af8 /libc/sysdeps/linux/cris/Makefile
parent750c0194b0b645120ddccf25b82848b06be6cdc2 (diff)
* Added clone() system call.
* Proper implementation of bits/syscalls.h, no cheating by just including <asm/unistd.h>. * Proper implementation of syscall.S, it no longer contains the __syscall_error, instead it contains code which makes syscall(nr,...) a system call. * Added sysdep.S which contains the code for __syscall_error. * Added some macros to sysdep.h. * Added sys/procfs.h, which is needed when compiling with thread support. * Removed unused syscall-cris.c.
Diffstat (limited to 'libc/sysdeps/linux/cris/Makefile')
-rw-r--r--libc/sysdeps/linux/cris/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile
index 398139be5..0955be53c 100644
--- a/libc/sysdeps/linux/cris/Makefile
+++ b/libc/sysdeps/linux/cris/Makefile
@@ -19,7 +19,7 @@ ASFLAGS=$(CFLAGS)
CRT0=crt0.c
CRT0_OBJ=$(patsubst %.c,%.o, $(CRT0))
-SSRC= setjmp.S __longjmp.S
+SSRC= setjmp.S __longjmp.S clone.S sysdep.S syscall.S
ifeq ($(UNIFIED_SYSCALL),true)
SSRC += __uClibc_syscall.S
endif
@@ -53,6 +53,7 @@ $(COBJS): %.o : %.c
headers:
@(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h )
+# cd $(TOPDIR)/include/sys && ln -fs ../../libc/sysdeps/linux/m68k/reg.h .
clean:
rm -f *.[oa] *~ core