diff options
Diffstat (limited to 'libc/sysdeps/linux/mips/Makefile.arch')
| -rw-r--r-- | libc/sysdeps/linux/mips/Makefile.arch | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/mips/Makefile.arch b/libc/sysdeps/linux/mips/Makefile.arch index da5ca1e0f..2c2e66fbb 100644 --- a/libc/sysdeps/linux/mips/Makefile.arch +++ b/libc/sysdeps/linux/mips/Makefile.arch @@ -5,14 +5,20 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -CSRC := \ - __longjmp.c brk.c setjmp_aux.c mmap.c __syscall_error.c \ - cacheflush.c pread_write.c sysmips.c _test_and_set.c sigaction.c \ - readahead.c posix_fadvise.c posix_fadvise64.c +CSRC-y := \ + __longjmp.c brk.c setjmp_aux.c \ + pread_write.c sigaction.c _test_and_set.c -SSRC := bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S syscall.S pipe.S +SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S + +CSRC-$(UCLIBC_LINUX_SPECIFIC) += cacheflush.c sysmips.c +CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise.c +CSRC-$(if $(findstring yy,$(UCLIBC_HAS_LFS)$(UCLIBC_HAS_ADVANCED_REALTIME)),y) += posix_fadvise64.c +SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += vfork.S clone.S +SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S \ + swapcontext.S + +ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT ARCH_HEADERS := sgidefs.h # regdef.h - -include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch |
