summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/sh/Makefile.arch13
1 files changed, 4 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/sh/Makefile.arch b/libc/sysdeps/linux/sh/Makefile.arch
index 3ec8cbd3f..99a77213b 100644
--- a/libc/sysdeps/linux/sh/Makefile.arch
+++ b/libc/sysdeps/linux/sh/Makefile.arch
@@ -6,15 +6,10 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC := \
+CSRC-y := \
pipe.c __init_brk.c brk.c sbrk.c pread_write.c
-ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
-CSRC += cacheflush.c
-endif
+SSRC-y := setjmp.S __longjmp.S ___fpscr_values.S
-SSRC := setjmp.S __longjmp.S ___fpscr_values.S
-
-ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
-SSRC += clone.S vfork.S
-endif
+CSRC-$(UCLIBC_LINUX_SPECIFIC) += cacheflush.c
+SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += clone.S vfork.S