summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/xtensa/Makefile.arch8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/xtensa/Makefile.arch b/libc/sysdeps/linux/xtensa/Makefile.arch
index f54886444..b9b6b87d5 100644
--- a/libc/sysdeps/linux/xtensa/Makefile.arch
+++ b/libc/sysdeps/linux/xtensa/Makefile.arch
@@ -5,10 +5,10 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC := brk.c fork.c posix_fadvise.c posix_fadvise64.c pread_write.c \
- sigaction.c __syscall_error.c
+CSRC-y := brk.c sigaction.c __syscall_error.c
-SSRC := bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S \
+SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S \
sigrestorer.S syscall.S mmap.S windowspill.S __longjmp.S vfork.S
-include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch
+CSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += fork.c
+SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += clone.S